package-scripts-help
v0.0.6
Published
generate help menus for your custom package.json scripts
Downloads
6
Readme
package-scripts-help
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
- Generate a help.json file from the contents of the scripts of a package.json file.
- 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