click icon indicating copy to clipboard operation
click copied to clipboard

Mutually exclusive option groups

Open cosminbasca opened this issue 10 years ago • 4 comments

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 avatar Feb 02 '16 16:02 cosminbasca

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

cosminbasca avatar Feb 04 '16 13:02 cosminbasca

Dup of #257.

nchammas avatar Feb 06 '16 02:02 nchammas

@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?

pprince avatar Feb 12 '16 22:02 pprince

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

untitaker avatar Mar 04 '16 10:03 untitaker