task-run-interactive
v1.2.0
Published
Run your npm scripts with the help of an interactive dialog
Readme
npm-run-interactive
Find and run tasks or npm scripts in an interactive way.

Installation
npm i npm-run-interactive -gUsage
Navigate in your project's directory and run nri.
- If a Taskfile is present and the
taskCLI is available,nrilists your Taskfile tasks (fromtask list) and runs them viatask <name>. - Otherwise, it falls back to listing your npm/yarn scripts from
package.jsonand runs them via your package manager.
Navigation
Cycle through the scripts with the up/down arrows or tab/shift+tab.
Filtering
Filter the scripts by typing in the prompt, your input will be searched in script names and values.
Non-interactive mode
Skip the prompt and just view your tasks/scripts in JSON format by redirecting output to a non-interactive stdout (file, cat, jq etc).

