GitHub - eliasgs/pkg-cli: Comman line script for easy package.json access · GitHub
Skip to content

eliasgs/pkg-cli

Folders and files

Repository files navigation

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)

About

Comman line script for easy package.json access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors