That is, a "built in" way of specifying that if --foo is provided, --bar must also be given. Or --foo cannot be provided with --bar. And similar.
I'm happy to implement this myself and pull-request it, if such a thing is desirable. (Any thoughts on design and implementation of such a thing would be appreciated). I'd probably go with something similar to python's argparse groups - https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_mutually_exclusive_group