runrun-cli
![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)
Delightful interactive npm scripts runner.
Demo
![runrun demo](https://github.com/alexilyaev/runrun-cli/raw/HEAD/demo.gif)
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.