CLI reference
kusaw config
Change kusaw.yaml
kusaw config
Change kusaw.yaml
Usage
kusaw config [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for config |
Subcommands
kusaw config set
Edit kusaw.yaml in place, keeping comments, and validate first
kusaw config set [--factory <name> | --config <path>] [--secret] [--] <key> [<value>] [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for set |
--secret | bool | false | Write a secret value (read from stdin or a hidden prompt) |
Example:
kusaw config set worker.max_parallel 4Exit codes
| Code | Name | Description |
|---|---|---|
| 0 | ok | Success. |
| 1 | error | Runtime error. |
| 2 | usage | Usage or validation error. |
| 3 | rejected | Control request rejected; the error string is printed verbatim. |
| 4 | not picked up | Control request not picked up within the wait time while serve runs. |
Example
kusaw config set worker.max_parallel 4