pkg-cli

0.3.0 • Public • Published

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 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 by simply doing:
git commit -am v$(pkg version)

Readme

Keywords

none

Package Sidebar

Install

npm i pkg-cli

Weekly Downloads

2

Version

0.3.0

License

MIT

Last publish

Collaborators

  • eliasgs