@luxcium/pkg-cli
v1.0.2
Published
Command line script for easy package.json access
Downloads
3
Readme
pkg-cli
Command line script for easy access to a Node module's package.json data.
Install
npm install -g pkg-cli
Usage
Basically it takes the first command line argument and prints the matching field from the package.json found in the current working directory.
Examples
- Create a new github repository with hub
hub create -d "$(pkg description)"
- After bumping the version in package.json, you could commit it simply by
git commit -am v$(pkg version)
Based on the work of Elias G. Schneevoigt (c) 2014