Create a stored Unit for the following runs#
You can use unit-run create commands to perform a one-time unit running with a parameter group derived from a json-str or a json file
Use -j or --json-str-pairs to pass json-str and use -f or --file-pairs to pass json file for a stored Unit creation#
unit-run create test.py y test -j name1 "[1,2]" name2 "{\"a\": 3, \"b\": 5}" -f name3 manual_p_group1.json name4 manual_p_group2.json
The command above will create a Unit directory test with unit y from test.py and add parameter groups name1, name2 (from json-str), name3, name4 (from json file). The stored Unit can be read and run by following commands.