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

Method _create_cli_argument

awscli/clidriver.py:522–532  ·  view source on GitHub ↗
(self, option_name, option_params)

Source from the content-addressed store, hash-verified

520 return argument_table
521
522 def _create_cli_argument(self, option_name, option_params):
523 return CustomArgument(
524 option_name,
525 help_text=option_params.get('help', ''),
526 dest=option_params.get('dest'),
527 default=option_params.get('default'),
528 action=option_params.get('action'),
529 required=option_params.get('required'),
530 choices=option_params.get('choices'),
531 cli_type_name=option_params.get('type'),
532 )
533
534 def create_help_command(self):
535 cli_data = self._get_cli_data()

Callers 1

_build_argument_tableMethod · 0.95

Calls 1

CustomArgumentClass · 0.90

Tested by

no test coverage detected