Skip to content

verify_argument_parser

Latest
Compare
Choose a tag to compare
@isidore isidore released this 28 Oct 19:24
· 4 commits to main since this release

Added verify_argument_parser for python arg_parse configuration.

Example:

    verify_argument_parser(parser)

Produces

usage: my_program.py [-h] [--optional_argument OPTIONAL_ARGUMENT] 1st_argument long_argument

My Description

positional arguments:
 1st_argument          1st argument help text


<optional header>:
 -h, --help            show this help message and exit
 --optional_argument OPTIONAL_ARGUMENT
                       An Optional Argument help text