Main app with subparsers.
usage: app [-h] [--verbose] {command1,command2} ...
| short | long | default | help |
|---|---|---|---|
-h |
--help |
show this help message and exit | |
--verbose |
Enable verbose output. |
Detailed desc for command1
usage: app command1 [-h] [--opt1 OPT1] pos1
| short | long | default | help |
|---|---|---|---|
-h |
--help |
show this help message and exit | |
--opt1 |
10 |
Option for command1. | |
pos1 |
Positional arg for command1. |
Epilog for command2
usage: app command2 [-h] [--flag]
| short | long | default | help |
|---|---|---|---|
-h |
--help |
show this help message and exit | |
--flag |
A boolean flag for command2. |