aws_spitzel.cli.ArgparseFormatter#
- class aws_spitzel.cli.ArgparseFormatter(prog, indent_increment=2, max_help_position=24, width=None)[source]#
A formatter class for showing default values and not inserting new line when showing the help text header
- __init__(prog, indent_increment=2, max_help_position=24, width=None)#
Methods
__init__
(prog[, indent_increment, ...])add_argument
(action)add_arguments
(actions)add_text
(text)add_usage
(usage, actions, groups[, prefix])end_section
()format_help
()start_section
(heading)