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

Make yes, no, and accessible flags global #236

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

CosmicHorrorDev
Copy link
Contributor

@CosmicHorrorDev CosmicHorrorDev commented Dec 30, 2021

Closes #233

clap allows for specifying that a flag is global meaning that it propagates down to all child subcommands as well. This makes it so that the following are equivalent ouch compress --yes ... or ouch --yes compress ...

@marcospb19 marcospb19 added the enhancement New feature or request label Jan 13, 2022
@marcospb19
Copy link
Member

That's great!

Thanks for your contribution and sorry for the delay, we have been busy lately.

@marcospb19 marcospb19 merged commit a777940 into ouch-org:master Jan 13, 2022
@CosmicHorrorDev
Copy link
Contributor Author

No worries on the delay. I understand that life gets busy at times

Thanks for merging and thanks for the great working on such a nice program!

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

Successfully merging this pull request may close these issues.

Accept flags in any position
2 participants