0.1.0 • Published 8 years ago

find-parent-dir-cli v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

find-parent-dir-cli

license

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