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

Method __call__

awscli/alias.py:416–428  ·  view source on GitHub ↗
(self, args, parsed_globals)

Source from the content-addressed store, hash-verified

414 self._invoker = invoker
415
416 def __call__(self, args, parsed_globals):
417 command_components = [self._alias_value[1:]]
418 command_components.extend(
419 compat_shell_quote(a, shell=True) for a in args
420 )
421 command = ' '.join(command_components)
422 LOG.debug(
423 'Using external alias %r with value: %r to run: %r',
424 self._alias_name,
425 self._alias_value,
426 command,
427 )
428 return self._invoker(command, shell=True)
429
430
431class InternalAliasSubCommand(BaseInternalAliasCommand):

Callers

nothing calls this directly

Calls 1

compat_shell_quoteFunction · 0.90

Tested by

no test coverage detected