(format_type, args)
| 390 | |
| 391 | |
| 392 | def 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) |
no outgoing calls
no test coverage detected