0.1.0 • Published 8 years ago
find-parent-dir-cli v0.1.0
find-parent-dir-cli
Finds the first parent directory that contains a given file or directory. (defaults to
.git
)
Install
$ npm install -g find-parent-dir-cli
Usage
# finds the parent `.git` directory
$ find-parent-dir
# finds the parent `Makefile` directory
$ find-parent-dir Makefile
Related
- find-parent-dir - Finds the first parent directory that contains a given file or directory.
License
MIT © Vu Tran
0.1.0
8 years ago