gpf_entrepot_toolbelt.utils.cli_arguments_types module¶
Static objects and variables.
- gpf_entrepot_toolbelt.utils.cli_arguments_types.arg_type_path_folder(input_path: Path | str) Path ¶
Check an argparse argument type, expecting a valid folder path.
- Paramètres:
input_path (Union[Path, str]) – path to check as string or pathlib.Path
- Lève:
ArgumentTypeError – if the input path is not a valid type or not a folder or
doesn't exist. –
- Renvoie:
folder path as pathlib.path instance
- Type renvoyé:
Path