Skip to content

Commit fcb135d

Browse files
wm0018vincentkoc
andauthored
docs(onboard): document 11 missing non-interactive CLI flags (#97753)
* docs(onboard): document 11 missing non-interactive CLI flags * docs: correct token profile default wording * docs: update generated docs map --------- Co-authored-by: Vincent Koc <[email protected]>
1 parent 8a519a9 commit fcb135d

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

docs/cli/onboard.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,34 @@ openclaw onboard --non-interactive \
208208
--mistral-api-key "$MISTRAL_API_KEY"
209209
```
210210

211+
## Additional non-interactive flags
212+
213+
Token-based model auth (non-interactive; used with `--auth-choice token`):
214+
215+
- `--token-provider <id>` — Token provider id. Identifies which provider issues the token.
216+
- `--token <token>` — Token value for model authentication.
217+
- `--token-profile-id <id>` — Auth profile id. Generic token storage defaults to `<provider>:manual`; provider-owned setup flows may use their own default, such as `anthropic:default`.
218+
- `--token-expires-in <duration>` — Optional token expiry duration (e.g. `365d`, `12h`).
219+
220+
Cloudflare AI Gateway (non-interactive):
221+
222+
- `--cloudflare-ai-gateway-account-id <id>` — Cloudflare Account ID for routing through Cloudflare AI Gateway.
223+
- `--cloudflare-ai-gateway-gateway-id <id>` — Cloudflare AI Gateway ID.
224+
225+
Daemon install control:
226+
227+
- `--no-install-daemon` — Explicitly skip gateway service installation.
228+
- `--skip-daemon` — Alias for `--no-install-daemon`.
229+
230+
UI and hook setup control:
231+
232+
- `--skip-ui` — Skip Control UI / TUI prompts during onboarding.
233+
- `--skip-hooks` — Skip webhook / hook setup prompts during onboarding.
234+
235+
Output suppression:
236+
237+
- `--suppress-gateway-token-output` — Suppress token-bearing Gateway/UI output (token hints, auto-login URL with embedded token, and automatic Control UI launch). Useful in shared terminal and CI environments.
238+
211239
## Flow notes
212240

213241
<AccordionGroup>

docs/docs_map.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,6 +1707,7 @@ Do not edit it by hand; run `pnpm docs:map:gen`.
17071707
- H2: Examples
17081708
- H2: Locale
17091709
- H3: Non-interactive Z.AI endpoint choices
1710+
- H2: Additional non-interactive flags
17101711
- H2: Flow notes
17111712
- H2: Common follow-up commands
17121713

0 commit comments

Comments
 (0)