Show the help of command_path, with errors when parsing
failed. Exits with 1 when there are errors, else 0; never reported by
run_main.
Attributes#
| Attribute | Type | Description |
|---|---|---|
command_path | tuple[str, ...] | |
errors | tuple[ParseError, ...] = field(default=()) | |
tag | Literal['ShowHelp'] = 'ShowHelp' | |
error_reported | bool = field(default=False, init=False, repr=False, compare=False) | |
message | str |
Functions#
__init__#
__init__(command_path, errors=()) -> None| Parameter | Type | Description |
|---|---|---|
command_path | tuple[str, ...] | |
errors | tuple[ParseError, ...] = () |