config set
Command
The config set
command assigns values to specific properties in the specified configuration.
If a configuration with the specified identifier does not exist, the configuration will be created automatically.
Usage
config set <id> <properties>
Parameters
Parameter | Description | Required? | Default Value |
---|---|---|---|
id | Configuration identifier | ✔️ | |
properties | Comma-delimited list of property-value pairs, formatted as <name>=<value> | ✔️ |
Examples
> config set test prop_a=test, prop_b=2, array_prop=[1,2,3,4]
array_prop:
- 1
- 2
- 3
- 4
prop_a: test
prop_b: 2
> config set test prop_a="some other value"
array_prop:
- 1
- 2
- 3
- 4
prop_a: some other value
prop_b: 2