MCPcopy
hub / github.com/aws/aws-cli / _process_global_args

Method _process_global_args

awscli/alias.py:448–454  ·  view source on GitHub ↗
(self, arg_parser, alias_args, parsed_globals)

Source from the content-addressed store, hash-verified

446 self._proxied_sub_command = proxied_sub_command
447
448 def _process_global_args(self, arg_parser, alias_args, parsed_globals):
449 globally_parseable_args = [parsed_globals.command] + alias_args
450 alias_globals, remaining = arg_parser.parse_known_args(
451 globally_parseable_args
452 )
453 self._update_parsed_globals(arg_parser, alias_globals, parsed_globals)
454 return remaining
455
456 def create_help_command(self):
457 # In the future we could create a custom help command

Callers 1

__call__Method · 0.95

Calls 2

parse_known_argsMethod · 0.45

Tested by

no test coverage detected