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

Method _build_command_table

awscli/clidriver.py:472–487  ·  view source on GitHub ↗

Create the main parser to handle the global arguments. :rtype: ``argparser.ArgumentParser`` :return: The parser object

(self)

Source from the content-addressed store, hash-verified

470 return self._argument_table
471
472 def _build_command_table(self):
473 """
474 Create the main parser to handle the global arguments.
475
476 :rtype: ``argparser.ArgumentParser``
477 :return: The parser object
478
479 """
480 command_table = self._build_builtin_commands(self.session)
481 self.session.emit(
482 'building-command-table.main',
483 command_table=command_table,
484 session=self.session,
485 command_object=self,
486 )
487 return command_table
488
489 def _build_builtin_commands(self, session):
490 commands = OrderedDict()

Callers 1

_get_command_tableMethod · 0.95

Calls 2

emitMethod · 0.45

Tested by

no test coverage detected