guld-git-dir

1.0.0 • Public • Published

guld-git-dir

Guld tool for getting the git directory of a path.

Example Output

/home/isysd/tech/js/node_modules/guld-git-dir/.git

Install

npm i -g guld-git-dir

Usage

// async
getGitDir().then(console.log)
Node
const getGitDir = require('guld-git-dir')
CLI
  Usage: guld-git-dir [options]

  Guld tool for getting the git directory of a path.

  Options:

    -V, --version   output the version number
    -p, --path <p>  The path to check
    -h, --help      output usage information

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i guld-git-dir

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.88 kB

Total Files

7

Last publish

Collaborators

  • isysd