add_to_parser

Import in python using from mcutils.scripts.tree.from_jal import add_to_parser

mcutils.scripts.tree.from_jal.add_to_parser(parser=None)[source]

Creates the parser of the command line arguments

After parsing the script can be run using run_from_args().

Parameters

parser – parser to add arguments to (default: create a new one)