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

Add ability to parse flags to the end #814

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Add ability to parse flags to the end #814

merged 4 commits into from
Sep 3, 2024

Conversation

mfridman
Copy link
Collaborator

@mfridman mfridman commented Aug 25, 2024

Quick PR to see whether this makes sense -- adding the ability to parse flags anywhere on the CLI.

Something that bugs me is the inability to set flags after positional arguments. E.g., sometimes I want to toss a -v (verbose) flag at the end of a long command, but right now we're stuck having to add flags before all positional arguments.

See Allowing flags anywhere on the CLI for rationale.

@mfridman mfridman merged commit 5193dcb into master Sep 3, 2024
4 checks passed
@mfridman mfridman deleted the mf/parsing-flags branch September 3, 2024 12:05
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

Successfully merging this pull request may close these issues.

1 participant