Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexilyaev/runrun-cli
Delightful interactive CLI to quickly run npm scripts.
https://github.com/alexilyaev/runrun-cli
Last synced: 4 months ago
JSON representation
Delightful interactive CLI to quickly run npm scripts.
- Host: GitHub
- URL: https://github.com/alexilyaev/runrun-cli
- Owner: alexilyaev
- License: mit
- Created: 2019-12-23T19:19:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T17:02:11.000Z (5 months ago)
- Last Synced: 2024-10-04T17:34:39.010Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.71 MB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# runrun-cli
[](http://npm.im/runrun-cli)
[](http://opensource.org/licenses/MIT)
[](http://makeapullrequest.com)
[](https://github.com/prettier/prettier)Delightful interactive npm scripts runner.
## Demo

## Installation
Try it out with `npx`:
```shell
npx runrun-cli
```Install globally (enables to execute `rr` and `rrr` anywhere):
```shell
npm install -g runrun-cli
```## Usage
Interactively choose which script to run from `package.json`:
```shell
rr
```Re-run last chosen script (same as `rr -r`):
```shell
rrr
```## CLI Options
### `-h` (or `--help`)
List all CLI options:
```shell
rr -h
```### `-s` (or `--select`)
Use Prompts select instead of autocomplete (supports vi motion keys):
```shell
rr -s
```### `-c` (or `--config`)
Path to a `package.json` in a different directory, relative to the current working dir:
```shell
rr -c sub/path/package.json
```## Contributing
See the [CONTRIBUTING](CONTRIBUTING.md) document.