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

Function get_formatter

awscli/formatter.py:392–396  ·  view source on GitHub ↗
(format_type, args)

Source from the content-addressed store, hash-verified

390
391
392def get_formatter(format_type, args):
393 if format_type not in CLI_OUTPUT_FORMATS:
394 raise ValueError("Unknown output type: %s" % format_type)
395 format_type_cls = CLI_OUTPUT_FORMATS[format_type]
396 return format_type_cls(args)

Callers 6

_display_responseMethod · 0.90
_get_displayMethod · 0.90
_run_mainMethod · 0.90
_run_mainMethod · 0.90
_get_formatterMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected