config:set
config:set
Section titled “config:set”Update validated control_plane, security, policies, or declared pack subkeys in workspace.yaml via micro-worktree. Use —key with exactly one of —value or —json-value.
Options:
| Flag | Description | Required |
|---|---|---|
--key <dotpath> | Config key in dot notation (always required) | No |
--value <value> | Scalar/comma-array value (string coerced to bool/number; comma-split append for arrays) | No |
--json-value <json> | JSON literal (bypasses coerceValue). Use for array-of-objects / nested-object fields such as software_delivery.gates.conditional_commands. | No |