package-scripts-help

0.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i package-scripts-help

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

10.7 kB

Total Files

6

Last publish

Collaborators

  • andrew-pynch