Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# Miscellaneous

## Shortcuts for creating `click.Path`

New in version 0.13.0.

`cloup.path`(*[, path_type, exists, ...]) | Shortcut for `click.Path` with `path_type=pathlib.Path`.
`cloup.dir_path`(*[, path_type, exists, ...]) | Shortcut for `click.Path` with `file_okay=False, path_type=pathlib.Path`.
`cloup.file_path`(*[, path_type, exists, ...]) | Shortcut for `click.Path` with `dir_okay=False, path_type=pathlib.Path`.