API Documentation
- Annotations Module
- Command_Parameters Module
CommandParameters
CommandParameters.action
CommandParameters.sub_command
CommandParameters.action_flags
CommandParameters.split_action_flags
CommandParameters.options
CommandParameters.combo_option_map
CommandParameters.groups
CommandParameters.positionals
CommandParameters.option_map
CommandParameters.command
CommandParameters.command_parent
CommandParameters.parent
CommandParameters.pass_thru
CommandParameters.has_nested_pass_thru
CommandParameters.all_positionals
CommandParameters.get_positionals_to_parse()
CommandParameters.formatter
CommandParameters.short_option_to_param_value_pairs()
CommandParameters.iter_params()
CommandParameters.required_check_params()
- Commands Module
- Config Module
ShowDefaults
OptionNameMode
SubcommandAliasHelpMode
AmbiguousComboMode
AllowLeadingDash
ConfigItem
DynamicConfigItem
config_item()
CommandConfig
CommandConfig.FIELDS
CommandConfig.error_handler
CommandConfig.always_run_after_main
CommandConfig.allow_annotation_type
CommandConfig.multiple_action_flags
CommandConfig.action_after_action_flags
CommandConfig.ignore_unknown
CommandConfig.allow_missing
CommandConfig.allow_backtrack
CommandConfig.option_name_mode
CommandConfig.reject_ambiguous_pos_combos
CommandConfig.ambiguous_short_combos
CommandConfig.add_help
CommandConfig.use_type_metavar
CommandConfig.show_defaults
CommandConfig.show_env_vars
CommandConfig.cmd_alias_mode
CommandConfig.sort_choices
CommandConfig.choice_delim
CommandConfig.show_group_tree
CommandConfig.group_tree_spacers
CommandConfig.show_group_type
CommandConfig.command_formatter
CommandConfig.param_formatter
CommandConfig.extended_epilog
CommandConfig.usage_column_width
CommandConfig.strict_usage_column_width
CommandConfig.wrap_usage_str
CommandConfig.show_docstring
CommandConfig.show_inherited_descriptions
CommandConfig.sub_cmd_doc_depth
CommandConfig.as_dict()
- Context Module
Context
Context.prog
Context.config
Context.allow_argv_prog
Context.for_prog()
Context.terminal_width
Context.get_parsed()
Context.params
Context.get_error_handler()
Context.has_parsed_value()
Context.get_parsed_value()
Context.set_parsed_value()
Context.pop_parsed_value()
Context.roll_back_parsed_values()
Context.record_action()
Context.num_provided()
Context.get_missing()
Context.missing_options_with_env_var()
Context.action_flag_count
Context.all_action_flags
Context.categorized_action_flags
Context.iter_action_flags()
ActionPhase
ContextProxy
get_current_context()
get_or_create_context()
get_context()
get_parsed()
get_raw_arg()
- Conversion Package
- Core Module
- Documentation Module
- Error_Handling Module
- Exceptions Module
CommandParserException
ParserExit
CommandDefinitionError
ParameterDefinitionError
AmbiguousShortForm
AmbiguousParseTree
UsageError
ParamUsageError
MultiParamUsageError
AmbiguousCombo
ParamConflict
ParamsMissing
BadArgument
InvalidChoice
MissingArgument
TooManyArguments
NoSuchOption
NoActiveContext
Backtrack
NextCommand
- Formatting Package
- Inputs Package
- Metadata Module
MetadataBase
Metadata
DynamicMetadata
dynamic_metadata()
ProgramMetadata
ProgramMetadata.parent
ProgramMetadata.distribution
ProgramMetadata.path
ProgramMetadata.package
ProgramMetadata.module
ProgramMetadata.cmd_module
ProgramMetadata.command
ProgramMetadata.usage
ProgramMetadata.description
ProgramMetadata.epilog
ProgramMetadata.doc_str
ProgramMetadata.pkg_doc_str
ProgramMetadata.for_command()
ProgramMetadata.prog
ProgramMetadata.get_prog()
ProgramMetadata.doc_name
ProgramMetadata.version
ProgramMetadata.email
ProgramMetadata.url
ProgramMetadata.docs_url
ProgramMetadata.format_epilog()
ProgramMetadata.get_doc_str()
ProgramMetadata.get_description()
ProgFinder
DistributionFinder
- Nargs Module
- Parameters Package
- Parse_Tree Module
- Parser Module
CommandParser
CommandParser.arg_deque
CommandParser.deferred
CommandParser.ctx
CommandParser.params
CommandParser.positionals
CommandParser.config
CommandParser.parse_args_and_get_next_cmd()
CommandParser.get_next_cmd()
CommandParser.handle_pass_thru()
CommandParser.handle_remainder()
CommandParser.handle_positional()
CommandParser.handle_long()
CommandParser.handle_short()
CommandParser.consume_values()
parse_args_and_get_next_cmd()
get_opt_prefix()
- Testing Module
AssertRaisesWithStringContext
ParserTest
ParserTest.assert_dict_equal()
ParserTest.assert_raises_contains_str()
ParserTest.assert_parse_results()
ParserTest.assert_parse_results_cases()
ParserTest.assert_env_parse_results()
ParserTest.assert_env_parse_results_cases()
ParserTest.assert_parse_fails()
ParserTest.assert_parse_fails_cases()
ParserTest.assert_argv_parse_fails_cases()
ParserTest.assert_call_fails()
ParserTest.assert_call_fails_cases()
ParserTest.assert_strings_equal()
ParserTest.assert_str_starts_with_line()
ParserTest.assert_str_contains()
ParserTest.env_vars()
format_diff()
format_dict_diff()
RedirectStreams
get_usage_text()
get_help_text()
get_rst_text()
sealed_mock()
load_command()
TemporaryDir
- Typing Module
- Utils Module