docs: fix remaining CLI P1s -- doctor, sessions, agents, models auth

- doctor: add --repair/--fix, --force, --generate-gateway-token options
- sessions: add --agent, --all-agents options and cleanup subcommand
- agents: add bindings, bind, unbind, set-identity to command tree
- models auth: add login and login-github-copilot subcommands
This commit is contained in:
Vincent Koc 2026-03-30 09:51:17 +09:00
parent 169bbc82f2
commit fb81e3fc7f
1 changed files with 18 additions and 2 deletions

View File

@ -155,11 +155,16 @@ openclaw [--dev] [--profile <name>] <command>
list
add
delete
bindings
bind
unbind
set-identity
acp
mcp
status
health
sessions
cleanup
tasks
list
show
@ -198,7 +203,7 @@ openclaw [--dev] [--profile <name>] <command>
fallbacks list|add|remove|clear
image-fallbacks list|add|remove|clear
scan
auth add|setup-token|paste-token
auth add|login|login-github-copilot|setup-token|paste-token
auth order get|set|clear
sandbox
list
@ -445,6 +450,9 @@ Options:
- `--yes`: accept defaults without prompting (headless).
- `--non-interactive`: skip prompts; apply safe migrations only.
- `--deep`: scan system services for extra gateway installs.
- `--repair` (alias: `--fix`): attempt automatic repairs for detected issues.
- `--force`: force repairs even when not strictly needed.
- `--generate-gateway-token`: generate a new gateway auth token.
## Channel helpers
@ -744,6 +752,12 @@ Options:
- `--verbose`
- `--store <path>`
- `--active <minutes>`
- `--agent <id>` (filter sessions by agent)
- `--all-agents` (show sessions across all agents)
Subcommands:
- `sessions cleanup` — remove expired or orphaned sessions
## Reset / Uninstall
@ -998,11 +1012,13 @@ Options:
- `--set-image`
- `--json`
### `models auth add|setup-token|paste-token`
### `models auth add|login|login-github-copilot|setup-token|paste-token`
Options:
- `add`: interactive auth helper
- `login`: `--provider <name>`, `--method <method>`, `--set-default`
- `login-github-copilot`: GitHub Copilot OAuth login flow
- `setup-token`: `--provider <name>` (default `anthropic`), `--yes`
- `paste-token`: `--provider <name>`, `--profile-id <id>`, `--expires-in <duration>`