-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat: Positional arguments #85
Labels
Comments
I don't believe this is possible, currently. |
OK, I found we don't need it. Should I leave the issue open as a backlog item? |
Sure, I can't think of a good way to encode positional arguments. Proposals/PRs are welcome. |
Moved my post to #130 |
bartelink
changed the title
Question on defining positional arguments
feat: Positional arguments
Dec 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
how would one create the Argu union for:
git push -f origin master
git push origin master -f
The remote (
origin
) and branch (master
) are positional arguments, i.e. the first and second non-option arguments on the command line.Having two
MainCommand
s (i.e. parameters without dashes) is not supported.The text was updated successfully, but these errors were encountered: