run_script¶
Import in python using from mcutils.utils.scripts import run_script
-
mcutils.utils.scripts.
run_script
(add_to_parser, run_from_args, argc=None)[source]¶ Run script from command line
- Parameters
add_to_parser – function that takes an argument parser and adds information to it
run_from_args – function that runs the script based on the arguments of the parser
argc – command line arguments