Run config
Executes commands specified in the JSON file.
Command
run-config
Parameters
Name | Optional/Required | Description |
|---|---|---|
| -i, --input | required | Path to the JSON file containing commands. |
-s, --set | optional | Value for variable interpolation. Must be specified as . Every in the provided JSON file will be interpolated with . The parameter may be specified more than once. Only alphanumeric and underscore characters may be in the name. |
| --symbol | optional | Path to a symbol file containing variable definitions. May be specified multiple times. Each file should provide a mapping of variable names to values. |
| --symbol-search | optional | Path to a directory to search for symbol files. May be specified multiple times. All valid symbol files found in the specified directories will be used for variable interpolation. |
Usage example
# Run config from file commands.json
$ edgeprotecttools run-config --input commands.json
# Run config from file commands.json and set variables to interpolate
$ edgeprotecttools run-config --input commands.json --set VARIABLE_1 0x12345678 --set VARIABLE_2 "hello, world" --set VARIABLE_3 "42"