select-run

1.1.4 • Public • Published

💻🏃‍♂️ 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.4
    1
    • latest

Version History

Package Sidebar

Install

npm i select-run

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

11.7 kB

Total Files

12

Last publish

Collaborators

  • alek-s