cloup._params¶
Classes¶
|
A |
|
A |
Functions¶
|
|
|
|
|
Attach an |
Attributes¶
Alias of |
Contents¶
-
class
cloup._params.Argument(*args, help=None, **attrs)[source]¶ Bases:
click.ArgumentA
click.Argumentwith help text.
-
class
cloup._params.Option(*args, group=None, **attrs)[source]¶ Bases:
click.OptionA
click.Optionwith an extra fieldgroupof typeOptionGroup.
-
cloup._params.GroupedOption¶ Alias of
Option.
-
cloup._params.option(*param_decls, cls=None, group=None, **attrs)[source]¶ Attach an
Optionto the command. Refer toclick.Optionandclick.Parameterfor more info about the accepted parameters.In your IDE, you won’t see arguments relating to shell completion, because they are different in Click 7 and 8 (both supported by Cloup):
in Click 7, it’s
autocompletionin Click 8, it’s
shell_complete.
These arguments have different semantics, refer to Click’s docs.