sklp config set
sklp config set [flags] [key] [value]Description
Set a value (plain, or --secret to encrypt it)
Arguments
| Argument | Required | Notes |
|---|---|---|
| key | no | |
| value | no |
Flags
| Flag | Aliases | Type | Default | Env | Description |
|---|---|---|---|---|---|
| --stack | -s | string | prod | — | stack whose .sklp/<stack>/config.yaml to operate on |
| --secret | — | bool | — | — | encrypt the value (stored as secure:) |
Technical details
Technical details
Raw command JSON
{
"path": [
"sklp",
"config",
"set"
],
"slug": "config-set",
"name": "set",
"short": "Set a value (plain, or --secret to encrypt it)",
"synopsis": "sklp config set [flags] [key] [value]",
"flags": [
{
"name": "stack",
"aliases": [
"s"
],
"usage": "stack whose .sklp/<stack>/config.yaml to operate on",
"type": "string",
"default": "prod"
},
{
"name": "secret",
"usage": "encrypt the value (stored as secure:)",
"type": "bool"
}
],
"positionals": [
{
"name": "key",
"required": false
},
{
"name": "value",
"required": false
}
]
}