RawTextArgumentDefaultsHelpFormatter#

class panorama.utils.RawTextArgumentDefaultsHelpFormatter(prog, indent_increment=2, max_help_position=24, width=None)#

Bases: ArgumentDefaultsHelpFormatter, RawDescriptionHelpFormatter

_get_help_string(action)#

Add the default value to the option help message.

ArgumentDefaultsHelpFormatter and BooleanOptionalAction when it isn’t already present. This code will do that, detecting cornercases to prevent duplicates or cases where it wouldn’t make sense to the end user.

add_argument(action)#
add_arguments(actions)#
add_text(text)#
add_usage(usage, actions, groups, prefix=None)#
end_section()#
format_help()#
start_section(heading)#