mutually_exclusive_group with optional and positional argument
问题 I created an cli specification with docopt which works great, however for some reason I have to rewrite it to argparse Usage: update_store_products <store_name>... update_store_products --all Options: -a --all Updates all stores configured in config How to do that? What is important I don't want to have something like this: update_store_products [--all] <store_name>... I think it would be rather something like this: update_store_products (--all | <store_name>...) I tried to use add_mutually