I’d like to be able to make a group of parameters mutually exclusive with another parameter (or another group). Something like:
program.py [-a alpha] [-b -c gamma -d delta]
The requirements are:
- You can use
-a
or-b
(or both, or none) - If you use
-b
, you MUST also use-c
and-d
Is it possible at all? I think I could use a sub_parser, but I’m not sure how…