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

Mutually exclusive option groups #509

Closed
cosminbasca opened this issue Feb 2, 2016 · 4 comments
Closed

Mutually exclusive option groups #509

cosminbasca opened this issue Feb 2, 2016 · 4 comments

Comments

@cosminbasca
Copy link

Is it possible to have mutually exclusive option / argument groups ala argparse: add_mutually_exclusive_group?

better yet, mutually exclusive groups of (mutually exclusive) groups. In essence tree like grouping strategies for option groups?

Thanks

@cosminbasca
Copy link
Author

I've implemented my own solution to support option groups and mutually exclusive option groups on top of click. If there is interest, let me know and I will try to integrate it into click and submit a pull request.

Cheers,
Cosmin

@nchammas
Copy link
Contributor

nchammas commented Feb 6, 2016

Dup of #257.

@pprince
Copy link

pprince commented Feb 12, 2016

@cosminbasca Could you at least link your solution here (and/or at #257, since this issue will likely be closed as a dup) as an example to others?

@untitaker
Copy link
Contributor

Duplicate of #257, which is already resolved (rejected) and has all information you need to implement this manually.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants