git-rev-cli

git-rev CLI


Keywords
git, rev, cli
License
MIT
Install
npm install git-rev-cli@0.1.0

Documentation

git-rev CLI

CLI that uses git-rev-sync to create a file with git rev info

Install

npm install git-rev-cli -g

Usage

From a Git repo:

git-rev VERSION

Will create a new file with that name with the Git rev info:

cat VERSION
{
  "commit": "foo",
  "tag": "bar",
  "branch": "baz",
  "date": "2000-01-01T00:00:00.000Z"
}%  

License

MIT