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

feature: Allow passing extra CLI arguments from the command-line #15

Closed
pawamoy opened this issue Sep 5, 2023 · 0 comments
Closed

feature: Allow passing extra CLI arguments from the command-line #15

pawamoy opened this issue Sep 5, 2023 · 0 comments

Comments

@pawamoy
Copy link
Owner

pawamoy commented Sep 5, 2023

Is your feature request related to a problem? Please describe.
Sometimes I want to pass additional flags to a command. It's not possible, and I have to modify my duties to do so.

Describe the solution you'd like
Allow passing extra CLI arguments from the command-line:

duty docs -- -v

That will complicate the arguments parsing logic again, but I think that's manageable. Maybe we can add --- to delimitate duties themselves:

duty docs -cnone duty_arg=1 -- --cli-flag --- test 

Describe alternatives you've considered
/

Additional context
/

@pawamoy pawamoy changed the title Allow passing extra CLI arguments from the command-line feature: Allow passing extra CLI arguments from the command-line May 17, 2024
pawamoy added a commit that referenced this issue May 19, 2024
…tion by delimitating them with `--` if needed

Issue-15: #15
@pawamoy pawamoy closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant