Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch flag in run command #99

Open
sant123 opened this issue Jun 28, 2021 · 2 comments
Open

Watch flag in run command #99

sant123 opened this issue Jun 28, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@sant123
Copy link

sant123 commented Jun 28, 2021

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.

@buttercubz
Copy link
Member

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

@buttercubz buttercubz self-assigned this Jun 28, 2021
@buttercubz buttercubz added the enhancement New feature or request label Jun 28, 2021
@sant123
Copy link
Author

sant123 commented Jul 8, 2021

Perhaps this module may help with this:

https://deno.land/std@0.100.0/flags

Using the stopEarly option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants