0.0.6 • Published 2 years ago

package-scripts-help v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

package-scripts-help

npm version Publish

The problem

Some of the scripts in my package.json files in various projects were growing complex, and large.

The solution

Created this package to

  1. Generate a help.json file from the contents of the scripts of a package.json file.
  2. Generate cli help options from the help.json file.

How to use

Visual Mode

cd /path/to/package.json
npx package-scripts-help@latest
# use your arrow keys and press enter to select the option you want

With Command Line Args

cd /path/to/package.json
npx package-scripts-help@latest --{flag}

Valid Command Line Flags

Generate help file from package.json scripts.

--ghf
-ghf
--generate-help-file
-generate-help-file

Display help options from help.json file.

--dho
-dho
--display-help-options
-display-help-options

Display help options for this tool.

--h
-h
--help
-help