0.0.1 ā¢ Published 2 years ago
pkg-prompt v0.0.1
pkg-prompt
An interactive runner for a npm project package.json
scripts, forked from npm-script-prompt
.
Installation
Install globally:
npm i -g pkg-prompt
Or, run with npx: npx pkg-prompt
.
Usage
Install the package globally and then run pkgscripts
in an npm project. Choose the npm script you want to run and hit enter!
Example output prompt for for this repo:
- 5 scripts found for pkg-prompt š
? Select an npm script to run (Use arrow keys)
āÆ test - node index.js
command:one - echo "Running an example command..."
command:two - echo "Running an example command..."
command:three - echo "Running an example command..."
(quit-prompt) - Quit the prompt and exit
0.0.1
2 years ago