Undocumented
Class | Choice |
The choice type allows a value to be checked against a fixed set of supported values. All of these values have to be strings. |
Class | DateTime |
The DateTime type converts date strings into datetime objects. |
Class | File |
Declares a parameter to be a file for reading or writing. The file is automatically closed once the context tears down (after the command finished working). |
Class | FloatRange |
Restrict a click.FLOAT value to a range of accepted values. See :ref:`ranges`. |
Class | IntRange |
Restrict an click.INT value to a range of accepted values. See :ref:`ranges`. |
Class | ParamType |
Represents the type of a parameter. Validates and converts values from the command line or Python into the correct type. |
Class | Path |
No summary |
Class | Tuple |
No summary |
Constant | BOOL |
Undocumented |
Constant | FLOAT |
Undocumented |
Constant | INT |
Undocumented |
Constant | STRING |
Undocumented |
Constant | UNPROCESSED |
Undocumented |
Constant | UUID |
Undocumented |
Class | _NumberParamTypeBase |
Undocumented |
Class | _NumberRangeBase |
No class docstring; 0/5 instance variable, 2/6 methods documented |
Class | BoolParamType |
Undocumented |
Class | CompositeParamType |
Undocumented |
Class | FloatParamType |
Undocumented |
Class | FuncParamType |
Undocumented |
Class | IntParamType |
Undocumented |
Class | StringParamType |
Undocumented |
Class | UnprocessedParamType |
Undocumented |
Class | UUIDParameterType |
Undocumented |
Function | convert_type |
Find the most appropriate ParamType for the given Python type. If the type isn't provided, it can be inferred from a default value. |