Skip to content

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