alexilyaev / runrun-cli

Delightful interactive CLI to quickly run npm scripts.
MIT License
16 stars 0 forks source link

runrun-cli

version MIT License PRs Welcome styled with prettier

Delightful interactive npm scripts runner.

Demo

runrun demo

Installation

Try it out with npx:

npx runrun-cli

Install globally (enables to execute rr and rrr anywhere):

npm install -g runrun-cli

Usage

Interactively choose which script to run from package.json:

rr

Re-run last chosen script (same as rr -r):

rrr

CLI Options

-h (or --help)

List all CLI options:

rr -h

-s (or --select)

Use Prompts select instead of autocomplete (supports vi motion keys):

rr -s

-c (or --config)

Path to a package.json in a different directory, relative to the current working dir:

rr -c sub/path/package.json

Contributing

See the CONTRIBUTING document.