mcot.utils.scripts¶
Utilities to create a common interface to all the scripts.
Classes
|
All script directories that have been registered. |
Functions
|
Extracts the filename from the docstring. |
|
|
|
Run script from command line. |
get_docstring¶
run_script¶
-
mcot.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