law.cli.run#

“law run” cli subprogram.

setup_parser(sub_parsers)[source]#

Sets up the command line parser for the run subprogram and adds it to sub_parsers.

execute(args, argv)[source]#

Executes the run subprogram with parsed commandline args.

read_task_from_index(task_family, index_file=None)[source]#

Returns module id, task family and space-separated parameters in a tuple for a task given by task_family from the index_file. When None, the index_file refers to the default as defined in law.config. Returns None when the task could not be found.