CLI reference
kusaw budget
Show or set the machine-wide usage budget
kusaw budget
Show or set the machine-wide usage budget
Usage
kusaw budget [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 budget |
--json | bool | false | Print JSON |
Subcommands
kusaw budget set
Edit budget: in registry.yaml, keeping comments
kusaw budget set <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 |
Example:
kusaw budget set providers.claude-code.windows[0].max 500000Exit 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 budget --json