Respect CLI parameter order, and allow parameter naming
oceansolutionsfr opened this issue · comments
with the following run cmd in script.yaml:
cmd: deno run script.ts --param1=$1 --param2=$2
currently, running vr run hello world
is producing a shell command (in GNU bash, version 3.2.57) equivalent to deno run script.ts --param1= --param2= hello world
but the expected shell command equivalent is deno run script.ts --param1=hello --param2=world
The feature should trim the parameters, and place them according to their respective positions in the script.yaml cmd line, and provide a way to name CLI parameters and to use references to the names within the cmd of the script.yaml (equivalent of npm ${npm_config_}
)
If it is already implemented, then maybe the docs should be updated with extended information about that (I can contribute if needed)
Best