Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw config

Change kusaw.yaml

kusaw config

Change kusaw.yaml

Usage

Text
kusaw config [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for config

Subcommands

kusaw config set

Edit kusaw.yaml in place, keeping comments, and validate first

Text
kusaw config set [--factory <name> | --config <path>] [--secret] [--] <key> [<value>] [flags]
NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for set
--secretboolfalseWrite a secret value (read from stdin or a hidden prompt)

Example:

Text
kusaw config set worker.max_parallel 4

Exit codes

CodeNameDescription
0okSuccess.
1errorRuntime error.
2usageUsage or validation error.
3rejectedControl request rejected; the error string is printed verbatim.
4not picked upControl request not picked up within the wait time while serve runs.

Example

Text
kusaw config set worker.max_parallel 4

On this page