Skip to content
A CLI tool to interactively search & select one or many package.json npm scripts to run
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
demo
.gitignore
.npmignore
CODE_OF_CONDUCT.md
LICENSE
README.md
cli.js
package-lock.json
package.json

README.md

💻🏃‍♂️ select-run

npm version

A CLI tool to interactively select one or many package.json npm scripts to run.

example

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 <space> 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 <return> to submit selections and begin running the scripts.

Inspired by hawkins/interactive-scripts

You can’t perform that action at this time.