actio_python_utils.argparse_functions.CustomFormatter¶
- class actio_python_utils.argparse_functions.CustomFormatter(prog, indent_increment=2, max_help_position=24, width=None)[source]¶
Bases:
ArgumentDefaultsHelpFormatter,RawTextHelpFormatterargparse.HelpFormatterthat displays argument defaults and doesn’t change formatting of the description- __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)