Use to add or modify properties with set
. You must provide the properties in the key=value
format, separated by space.
To set a single property:
$ envm set KEY1=VALUE [options]
To set multiple properties simultaneously:
$ envm set KEY1=VALUE1 KEY2=VALUE2 ... [options]
Allows specifying the target environment for the properties. In the absence of this option, the current environment is used.
$ envm set <properties> --tag=<environment-tag>
or
$ envm set <properties> -t <environment-tag>
Applies the provided properties to all saved environments, making it easier to synchronize settings across different contexts.
$ envm set <properties> --all
Limits the addition or modification of properties to the target properties file (target), without affecting the settings of saved environments. This is useful for temporary modifications.
$ envm set <properties> --target-only