4 ms·
I've reached for click when I need to create a layered command scheme .. ex where `mytool command1 --help` and `mytool command2 --help` would provide two differ
by noitpmeder 2y ago
I've reached for click when I need to create a layered command scheme .. ex where `mytool command1 --help` and `mytool command2 --help` would provide two different sets of arguments.
Similar to what the `git` suite provides.
- kstrauser 2y agoThe argparse version of that is `add_subparsers`: https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_subparsers https://docs.python.org/3/library/argparse.html#argparse.Arg...