Run a stored Unit#
You can use unit-run run commands to perform a run from a stored Unit Object.
Use -g/--group-name to specify a stored parameter group to perform a unit run.#
unit-run run test -g name2
Running the target unit 'y' from test.py...
Running complete, time consuming: 0.0 s.
**********Running Result**********
-2
**********Running Result**********
Use -j/--json-str to use the parameters transformed by the given json-str to perform a unit run.#
unit-run run test -j "[2, 3]"
Running the target unit 'y' from test.py...
Running complete, time consuming: 0.0 s.
**********Running Result**********
-1
**********Running Result**********
Use -f/--file to use the parameters read from the given json file path to perform a unit run.#
unit-run run test -f manual_p_group1.json
Running the target unit 'y' from test.py...
Running complete, time consuming: 0.0 s.
**********Running Result**********
9
**********Running Result**********