Alek-S/select-run

[Feature Request] - Add option selection

iwasherefirst2 opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I need to handle options for my commands

For example, I have the command db:dump in my package.json. As a parameter, I can pass staging or production like this:

npm run db:dump --stage=staging
or
npm run db:dump --stage=production.

Is that already possible with this package?

Describe the solution you'd like

  1. Call select-run
  2. Pick db:dump
  3. Pick option staging or production for stage (its a required parameter)

Additional context
I noticed that there is a filter showing up. Not sure if that is what I need. If so, its unclear for me where to specify the parameter. When I select the command db:dump this is the output:
image