Undocumented
Class | Argument |
Arguments are positional parameters to a command. They generally provide fewer features than options but can have infinite nargs and are required by default. |
Class | BaseCommand |
No summary |
Class | Command |
Commands are the basic building block of command line interfaces in Click. A basic command handles command line parsing and might dispatch more parsing to commands nested below it. |
Class | CommandCollection |
No summary |
Class | Context |
The context is a special internal object that holds state relevant for the script execution at every single level. It's normally invisible to commands unless they opt-in to getting access to it. |
Class | Group |
A group allows a command to have subcommands attached. This is the most common way to implement nesting in Click. |
Class | MultiCommand |
A multi command is the basic implementation of a command that dispatches to subcommands. The most common version is the Group . |
Class | Option |
Options are usually optional values on the command line and have some extra features that arguments don't have. |
Class | Parameter |
No summary |
Class | ParameterSource |
This is an ~enum.Enum that indicates the source of a parameter's value. |
Constant | F |
Undocumented |
Constant | V |
Undocumented |
Function | _check_iter |
Check if the value is iterable but not a string. Raises a type error, or return an iterator over the value. |
Function | _check_multicommand |
Undocumented |
Function | _complete_visible_commands |
List all the subcommands of a group that start with the incomplete value and aren't hidden. |
Function | augment_usage_errors |
Context manager that attaches extra information to exceptions. |
Function | batch |
Undocumented |
Function | iter_params_for_processing |
Given a sequence of parameters in the order as should be considered for processing and an iterable of parameters that exist, this returns a list in the correct order as they should be processed. |
Parameters | |
value:t.Any | Undocumented |
Returns | |
t.Iterator[ | Undocumented |
Undocumented
Parameters | |
base_command:MultiCommand | Undocumented |
cmd_name:str | Undocumented |
cmd:Command | Undocumented |
register:bool | Undocumented |
Parameters | |
invocation_order:t.Sequence[ | Undocumented |
declaration_order:t.Sequence[ | Undocumented |
Returns | |
t.List[ | Undocumented |