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

Class ServiceArgParser

awscli/argparser.py:161–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160
161class ServiceArgParser(CLIArgParser):
162 def __init__(self, operations_table, service_name):
163 super().__init__(
164 formatter_class=argparse.RawTextHelpFormatter,
165 add_help=False,
166 conflict_handler='resolve',
167 usage=USAGE,
168 )
169 self._build(operations_table)
170 self._service_name = service_name
171
172 def _build(self, operations_table):
173 self.add_argument(
174 'operation', action=CommandAction, command_table=operations_table
175 )
176
177
178class ArgTableArgParser(CLIArgParser):

Callers 2

validate_cli_commandMethod · 0.90
create_parserMethod · 0.90

Calls

no outgoing calls

Tested by 1

validate_cli_commandMethod · 0.72