npm

Need private packages and team management tools?Check out npm Orgs. »

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

Keywords

install

npm i guld-git-dir

Downloadsweekly downloads

5

version

1.0.0

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability