MCPcopy Index your code
hub / github.com/aws/aws-cli / _parse_potential_subcommand

Method _parse_potential_subcommand

awscli/customizations/commands.py:129–133  ·  view source on GitHub ↗
(self, args, subcommand_table)

Source from the content-addressed store, hash-verified

127 self._lineage = [self]
128
129 def _parse_potential_subcommand(self, args, subcommand_table):
130 if subcommand_table:
131 parser = SubCommandArgParser(self.arg_table, subcommand_table)
132 return parser.parse_known_args(args)
133 return None
134
135 def __call__(self, args, parsed_globals):
136 # args is the remaining unparsed args.

Callers 1

__call__Method · 0.95

Calls 2

parse_known_argsMethod · 0.95
SubCommandArgParserClass · 0.90

Tested by

no test coverage detected