|
Public Member Functions inherited from click.core.Command |
|
None | __init__ (self, str|None name, cabc.MutableMapping[str, t.Any]|None context_settings=None, t.Callable[..., t.Any]|None callback=None, list[Parameter]|None params=None, str|None help=None, str|None epilog=None, str|None short_help=None, str|None options_metavar="[OPTIONS]", bool add_help_option=True, bool no_args_is_help=False, bool hidden=False, bool|str deprecated=False) |
| |
|
dict[str, t.Any] | to_info_dict (self, Context ctx) |
| |
|
str | __repr__ (self) |
| |
| str | get_usage (self, Context ctx) |
| |
|
list[Parameter] | get_params (self, Context ctx) |
| |
| None | format_usage (self, Context ctx, HelpFormatter formatter) |
| |
| list[str] | collect_usage_pieces (self, Context ctx) |
| |
| list[str] | get_help_option_names (self, Context ctx) |
| |
| Option|None | get_help_option (self, Context ctx) |
| |
| _OptionParser | make_parser (self, Context ctx) |
| |
| str | get_help (self, Context ctx) |
| |
| str | get_short_help_str (self, int limit=45) |
| |
| None | format_help (self, Context ctx, HelpFormatter formatter) |
| |
| None | format_help_text (self, Context ctx, HelpFormatter formatter) |
| |
| None | format_options (self, Context ctx, HelpFormatter formatter) |
| |
| None | format_epilog (self, Context ctx, HelpFormatter formatter) |
| |
| Context | make_context (self, str|None info_name, list[str] args, Context|None parent=None, **t.Any extra) |
| |
|
list[str] | parse_args (self, Context ctx, list[str] args) |
| |
| t.Any | invoke (self, Context ctx) |
| |
| list[CompletionItem] | shell_complete (self, Context ctx, str incomplete) |
| |
|
t.NoReturn | main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, t.Literal[True] standalone_mode=True, **t.Any extra) |
| |
|
t.Any | main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, bool standalone_mode=..., **t.Any extra) |
| |
| t.Any | main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, bool standalone_mode=True, bool windows_expand_args=True, **t.Any extra) |
| |
| t.Any | __call__ (self, *t.Any args, **t.Any kwargs) |
| |
|
bool | __subclasscheck__ (cls, type subclass) |
| |
|
bool | __instancecheck__ (cls, t.Any instance) |
| |
Public Attributes inherited from click.core.Command |
|
| name |
| |
|
| callback |
| |
|
| help |
| |
|
| epilog |
| |
|
| options_metavar |
| |
|
| short_help |
| |
|
| add_help_option |
| |
|
| no_args_is_help |
| |
|
| hidden |
| |
|
| deprecated |
| |
Static Public Attributes inherited from click.core.Command |
|
type | context_class = Context |
| |
|
bool | allow_extra_args = False |
| |
|
bool | allow_interspersed_args = True |
| |
|
bool | ignore_unknown_options = False |
| |
Protected Member Functions inherited from click.core.Command |
| None | _main_shell_completion (self, cabc.MutableMapping[str, t.Any] ctx_args, str prog_name, str|None complete_var=None) |
| |
Protected Attributes inherited from click.core.Command |
|
| _help_option |
| |
.. deprecated:: 8.2
Will be removed in Click 9.0. Use ``Command`` instead.