

https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_mutually_exclusive_group
However I’ve never had to use that feature. Like I said it can make sense in specific contexts but it is a pretty strong indicator that you have built in a CLI antipattern or too much complexity.







GIMP apologists are what Adobe users think FOSS apologists are like. The principled refusal to even consider fundamental UX principles is astounding.