jurassiscripts / velociraptor

The npm-style script runner for Deno

Home Page:https://velociraptor.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

help and version params dont work

Pangoraw opened this issue · comments

Is your feature request related to a problem? Please describe.

When running vr --help, velociraptor thinks I am trying to run a script with the name --help:

$ vr --help
error: Script --help not found
Run vr without arguments to see a list of available scripts.

Describe the solution you'd like

Velociraptor should follow what is defined in the completion created and what is shown when running vr help, vr --help, vr -V and vr -h should show the help/version.

I think the problem will be resolved when c4spar/deno-cliffy#27 is implemented. In the meantime, I have created fixes on #33.