UNPKG

path-exists-cli

Version:
26 lines (16 loc) 425 B
# path-exists-cli > Check if a path exists, [cross-platform](https://github.com/sindresorhus/path-exists-cli/issues/1). ## Install ``` $ npm install --global path-exists-cli ``` ## Usage ``` $ path-exists --help Usage $ path-exists <path> Example $ path-exists foo && echo "exists" || echo "doesn't exist" ``` ## Related - [path-exists](https://github.com/sindresorhus/path-exists) - API for this module