usage: pytest cmd1 [-h] [-a {one,two}] [-o OPTIONAL_STR] [-p OPTIONAL_INT]
[-t [OPTIONAL_TPL [OPTIONAL_TPL ...]]]
an_int an_str a_tuple a_tuple a_tuple a_var_tuple
[a_var_tuple ...]
Example function with types documented in the docstring.
positional arguments:
an_int
an_str
a_tuple
a_var_tuple
optional arguments:
-h, --help show this help message and exit
-a {one,two}, --an-enum {one,two}
-o OPTIONAL_STR, --optional-str OPTIONAL_STR
-p OPTIONAL_INT, --optional-int OPTIONAL_INT
-t [OPTIONAL_TPL [OPTIONAL_TPL ...]], --optional-tpl [OPTIONAL_TPL [OPTIONAL_TPL ...]]