mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 16:30:47 +08:00
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。 Made-with: Cursor
1.2 KiB
1.2 KiB
| summary | read_when | title | ||
|---|---|---|---|---|
| CLI reference for `openclaw completion` (generate/install shell completion scripts) |
|
completion |
openclaw completion
Generate shell completion scripts and optionally install them into your shell profile.
Usage
openclaw completion
openclaw completion --shell zsh
openclaw completion --install
openclaw completion --shell fish --install
openclaw completion --write-state
openclaw completion --shell bash --write-state
Options
-s, --shell <shell>: shell target (zsh,bash,powershell,fish; default:zsh)-i, --install: install completion by adding a source line to your shell profile--write-state: write completion script(s) to$OPENCLAW_STATE_DIR/completionswithout printing to stdout-y, --yes: skip install confirmation prompts
Notes
--installwrites a small "OpenClaw Completion" block into your shell profile and points it at the cached script.- Without
--installor--write-state, the command prints the script to stdout. - Completion generation eagerly loads command trees so nested subcommands are included.