mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
fix(stubs/click): add the no_args_is_help argument annotaion for click (#5198)
This commit is contained in:
@@ -119,6 +119,7 @@ class Command(BaseCommand):
|
||||
short_help: Optional[str]
|
||||
options_metavar: str
|
||||
add_help_option: bool
|
||||
no_args_is_help: bool
|
||||
hidden: bool
|
||||
deprecated: bool
|
||||
def __init__(
|
||||
@@ -132,6 +133,7 @@ class Command(BaseCommand):
|
||||
short_help: Optional[str] = ...,
|
||||
options_metavar: str = ...,
|
||||
add_help_option: bool = ...,
|
||||
no_args_is_help: bool = ...,
|
||||
hidden: bool = ...,
|
||||
deprecated: bool = ...,
|
||||
) -> None: ...
|
||||
|
||||
@@ -28,6 +28,7 @@ def command(
|
||||
short_help: Optional[str] = ...,
|
||||
options_metavar: str = ...,
|
||||
add_help_option: bool = ...,
|
||||
no_args_is_help: bool = ...,
|
||||
hidden: bool = ...,
|
||||
deprecated: bool = ...,
|
||||
) -> Callable[[Callable[..., Any]], Command]: ...
|
||||
|
||||
Reference in New Issue
Block a user