makeParser

lsst.ctrl.mpexec.makeParser(fromfile_prefix_chars='@', parser_class=<class 'argparse.ArgumentParser'>, **kwargs)

Make instance of command line parser for CmdLineFwk.

Creates instance of parser populated with all options that are supported by command line activator. There is no additional logic in this class, all semantics is handled by the activator class.

Parameters:
fromfile_prefix_chars : str, optional

Prefix for arguments to be used as options files (default: @)

parser_class : type, optional

Specifies the class of the argument parser, by default ArgumentParser is used.

kwargs : extra keyword arguments

Passed directly to parser_class constructor

Returns:
instance of `parser_class`