pymake.pymake_parser module#
Parser for pymake command line arguments.
Command line arguments are processed when running pymake directly from the command line or in a script. The standard argparse module is used to parse command line arguments. Available command line arguments are programmatically developed by a protected dictionary. The parser can be accessed using:
import pymake
args = pymake.parser()
- build_parser(examples=None, prog=None)[source]#
Construct the mfpymake parser.
- Parameters:
examples (str)
prog (str) – program name shown in the usage message (default is the command that was run)
- Returns:
parser_obj – parser for the mfpymake command line arguments
- Return type:
ArgumentParser object