cloup.types
¶
Parameter types and “shortcuts” for creating commonly used types.
Functions¶
|
Shortcut for |
|
Shortcut for |
|
Shortcut for |
Contents¶
-
cloup.types.
path
(path_type=pathlib.Path, exists=False, file_okay=True, dir_okay=True, writable=False, readable=True, resolve_path=False, allow_dash=False)[source]¶ Shortcut for
click.Path
withpath_type=pathlib.Path
.
-
cloup.types.
dir_path
(path_type=pathlib.Path, exists=False, writable=False, readable=True, resolve_path=False, allow_dash=False)[source]¶ Shortcut for
click.Path
withfile_okay=False, path_type=pathlib.Path
.
-
cloup.types.
file_path
(path_type=pathlib.Path, exists=False, writable=False, readable=True, resolve_path=False, allow_dash=False)[source]¶ Shortcut for
click.Path
withdir_okay=False, path_type=pathlib.Path
.