AboutAction#
- class AboutAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]#
Bases:
Action
Argparse action to print out version, copyright and/or license information from the package __init__
Summary
add_to_parser
(parser)Add the --version, --copyright and --license arguments to a parser.
Details