API Reference
Generated from docstrings, organized by area:
- Args —
Args,Argument,ArgumentBuilder, theArg/NSannotation helpers,Meta(the typed, typo-safe metadata form), the argument factories (Count,Append,Const,Choice,Extend),UpdateAction, and the module-level entry points (parser,parse,main,value_sources). - Discovery —
discover_commands,discover_entry_points(installed-distribution plugins),CmdBuilder,ModuleCommand, and theregister_command_providerextension seam. - Formatters — opt-in
--helpformatters:DefaultsFormatter(append(default: X)),ColorHelpFormatter(ANSI), andColorDefaultsFormatter(both), selected via a class's_help_formatter_. - Presets —
LoggingArgs, the ready-made verbosity/log-level mixin. - Logging — colored formatting, custom levels, and stderr setup helpers.
- Completion — bash/zsh/fish/PowerShell completion-script generation.