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

Method create_parser

awscli/clidriver.py:564–575  ·  view source on GitHub ↗
(self, command_table)

Source from the content-addressed store, hash-verified

562 return version_string
563
564 def create_parser(self, command_table):
565 # Also add a 'help' command.
566 command_table['help'] = self.create_help_command()
567 cli_data = self._get_cli_data()
568 parser = MainArgParser(
569 command_table,
570 self._cli_version(),
571 cli_data.get('description', None),
572 self._get_argument_table(),
573 prog="aws",
574 )
575 return parser
576
577 def main(self, args=None):
578 """

Callers 2

mainMethod · 0.95

Calls 5

create_help_commandMethod · 0.95
_get_cli_dataMethod · 0.95
_cli_versionMethod · 0.95
_get_argument_tableMethod · 0.95
MainArgParserClass · 0.90

Tested by

no test coverage detected