Skip to main content

Run config

Executes commands specified in the JSON file.

Command

run-config

Parameters

NameOptional/RequiredDescription
-i, --inputrequiredPath to the JSON file containing commands.
-s, --setoptionalValue for variable interpolation. Must be specified as [variable] [value]. Every [variable] in the provided JSON file will be interpolated with [value]. The parameter may be specified more than once. Only alphanumeric and underscore characters may be in the [variable] name.
--symboloptionalPath to a symbol file containing variable definitions. May be specified multiple times. Each file should provide a mapping of variable names to values.
--symbol-searchoptionalPath 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"