Cli Module
- class cli_command_parser.conversion.cli.ParserConverter[source]
Bases:
CommandTool to convert an argparse.ArgumentParser into a cli-command-parser Command
- action
- no_smart_for
Disable “smart” for loop handling that attempts to dedupe common subparser params
- verbose
Increase logging verbosity (can specify multiple times)
- dry_run
Print the actions that would be taken instead of taking them
- class cli_command_parser.conversion.cli.Convert[source]
Bases:
ParserConverterPrint the cli-command-parser Commands that are equivalent to the discovered argparse ArgumentParsers
- add_methods
Do not include boilerplate methods in Commands