docs(config): document schema command and add schema test
This commit is contained in:
parent
282fbe0e95
commit
d33eadea75
3 changed files with 45 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This reference is derived from the current CLI surface (`zeroclaw --help`).
|
||||
|
||||
Last verified: **February 18, 2026**.
|
||||
Last verified: **February 19, 2026**.
|
||||
|
||||
## Top-Level Commands
|
||||
|
||||
|
|
@ -22,6 +22,7 @@ Last verified: **February 18, 2026**.
|
|||
| `integrations` | Inspect integration details |
|
||||
| `skills` | List/install/remove skills |
|
||||
| `migrate` | Import from external runtimes (currently OpenClaw) |
|
||||
| `config` | Export machine-readable config schema |
|
||||
| `hardware` | Discover and introspect USB hardware |
|
||||
| `peripheral` | Configure and flash peripherals |
|
||||
|
||||
|
|
@ -105,6 +106,12 @@ Runtime in-chat commands (Telegram/Discord while channel server is running):
|
|||
|
||||
- `zeroclaw migrate openclaw [--source <path>] [--dry-run]`
|
||||
|
||||
### `config`
|
||||
|
||||
- `zeroclaw config schema`
|
||||
|
||||
`config schema` prints a JSON Schema (draft 2020-12) for the full `config.toml` contract to stdout.
|
||||
|
||||
### `hardware`
|
||||
|
||||
- `zeroclaw hardware discover`
|
||||
|
|
|
|||
|
|
@ -2,12 +2,16 @@
|
|||
|
||||
This is a high-signal reference for common config sections and defaults.
|
||||
|
||||
Last verified: **February 18, 2026**.
|
||||
Last verified: **February 19, 2026**.
|
||||
|
||||
Config file path:
|
||||
|
||||
- `~/.zeroclaw/config.toml`
|
||||
|
||||
Schema export command:
|
||||
|
||||
- `zeroclaw config schema` (prints JSON Schema draft 2020-12 to stdout)
|
||||
|
||||
## Core Keys
|
||||
|
||||
| Key | Default | Notes |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue