https://github.com/alek-s/select-run
A CLI tool to interactively search & select one or many package.json npm scripts to run
https://github.com/alek-s/select-run
cli command-line commandline javascript node npm npm-scripts package-json
Last synced: 6 months ago
JSON representation
A CLI tool to interactively search & select one or many package.json npm scripts to run
- Host: GitHub
- URL: https://github.com/alek-s/select-run
- Owner: Alek-S
- License: mit
- Created: 2019-11-09T08:20:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-20T12:23:11.000Z (11 months ago)
- Last Synced: 2025-04-12T10:03:04.600Z (6 months ago)
- Topics: cli, command-line, commandline, javascript, node, npm, npm-scripts, package-json
- Language: JavaScript
- Homepage:
- Size: 6.04 MB
- Stars: 42
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 💻🏃♂️ select-run
[](https://badge.fury.io/js/select-run)A CLI tool to interactively select one or many `package.json` npm scripts to run.

## Purpose
If you have multiple linters, formatters or tests scripts that you want to run together with limited typing. Alternatively if you want to run server in dev or watch mode but don't remember the exact command, can just use fuzzy search to quickly find and run it.
## Installation
`npm i -g select-run`## Usage
Once installed globally, run `select-run` from same directory that `package.json` is located.Use arrow keys to navigate up and down the list and `` to select a script. Likewise start typing anytime to filter list down in a real-time search. When all desired script have been selected, press `` to submit selections and begin running the scripts.
Inspired by [hawkins/interactive-scripts](https://github.com/hawkins/interactive-scripts)