rs_rich.ext.cli_doc: command help, errors, completions, docs and config from one description (rich_ext::cli_doc).
No Rich counterpart: this is the port's own rs-rich-ext crate.
HELP_STYLES
module-attribute
HELP_STACK_BELOW
module-attribute
COMPLETION_SHELLS
module-attribute
COMPLETION_SHELLS: List[Any]
STACK_BELOW
module-attribute
STACK_BELOW = HELP_STACK_BELOW
SHELLS
module-attribute
SHELLS = COMPLETION_SHELLS
ArgSpec
flag
staticmethod
flag(long: Any, **kwargs: Any) -> Any
option
staticmethod
option(long: Any, **kwargs: Any) -> Any
positional
staticmethod
positional(name: Any, **kwargs: Any) -> Any
CommandSpec
completion
completion(shell: Any) -> Any
completion_catalog
completion_catalog() -> Any
config_reference
config_reference() -> Any
find_subcommand
find_subcommand(name: Any) -> Any
help
help(*, long: Any = ..., path: Any = ...) -> Any
subcommand_names
subcommand_names() -> Any
to_man
to_man(section: Any = ..., date: Any = ...) -> Any
to_man_pages
to_man_pages(section: Any = ..., date: Any = ...) -> Any
unknown
unknown(argument: Any) -> Any
CliError
invalid_value
classmethod
invalid_value(argument: Any, value: Any, possible: Any) -> Any
missing_required
classmethod
missing_required(arguments: Any) -> Any
missing_value
classmethod
missing_value(argument: Any) -> Any
unknown_argument
classmethod
unknown_argument(argument: Any, candidates: Any) -> Any
unknown_subcommand
classmethod
unknown_subcommand(name: Any, candidates: Any) -> Any
ConfigReference
from_spec
classmethod
from_spec(spec: Any, *, description: Any = ..., sources: Any = ..., entries: Any = ...) -> Any
suggest
suggest(input: Any, candidates: Any) -> Any