1.0.3 • Published 9 months ago

script-selector v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Script Selector

This tool helps you select and copy script commands from your package.json.

Run it on your project base folder to visualize, select and copy a script to the clipboard. Then just paste and run it.

This doesn't run the script, it just copies it to the clipboard, allowing you to paste it in your terminal and modifying it before runnning it.

Inference works by just checking if there's a lock file of some type in the current folder, and defaults to npm if none is found.

Example of the app running in a terminal

Instalation and Usage

You can use npx to run it without installing it (though it will be slower each time it needs to be downloaded).:

npx script-selector

Or you can install it globally:

npm install -g script-selector

And then just use it:

script-selector

Configuration - Environment Variables

  • DEFAULT_SCRIPT_RUNNER: It defines what script runner to use when no script runner could be inferred.

    Valid values are npm, yarn, deno, bun and pnpm. Defaults to npm.

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago