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: 2 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T17:02:11.000Z (about 1 month ago)
- Last Synced: 2024-10-04T17:34:39.010Z (about 1 month 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
[![version](https://img.shields.io/npm/v/runrun-cli?style=flat-square)](http://npm.im/runrun-cli)
[![MIT License](https://img.shields.io/npm/l/runrun-cli?style=flat-square)](http://opensource.org/licenses/MIT)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square)](http://makeapullrequest.com)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)Delightful interactive npm scripts runner.
## Demo
![runrun demo](demo.gif)
## 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.