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

Class FirstPassGlobalArgParser

awscli/argparser.py:283–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283class FirstPassGlobalArgParser(CLIArgParser):
284 def __init__(self, *args, **kwargs):
285 kwargs['add_help'] = False
286 super().__init__(*args, **kwargs)
287 self._build()
288
289 def _build(self):
290 self.add_argument('--profile', type=str)
291 self.add_argument('--debug', action='store_true', default=False)

Callers 2

setUpMethod · 0.90
create_clidriverFunction · 0.90

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72