Trex icon indicating copy to clipboard operation
Trex copied to clipboard

Watch flag in run command

Open sant123 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I'm trying to pass the --watch flag to my script but is stripped by Trex and being used as rsap

Describe the solution you'd like Follow the deno arguments schema as:

trex run --watch myScriptName

So the --watch only affects the run command and not the args of my script

Describe alternatives you've considered trex run myScriptName -- --watch

Additional context image

This tool is really awesome, thank you for developing this 😁 hope this be reviewed and accepted by your side.

Cheers.

sant123 avatar Jun 28 '21 04:06 sant123

Thank you for reporting this behavior, I had not considered the scenario

buttercubz avatar Jun 28 '21 04:06 buttercubz

Perhaps this module may help with this:

https://deno.land/[email protected]/flags

Using the stopEarly option.

sant123 avatar Jul 08 '21 01:07 sant123