completion
openclaw completion
Section titled “openclaw completion”Generate shell completion scripts and optionally install them into your shell profile.
openclaw completionopenclaw completion --shell zshopenclaw completion --installopenclaw completion --shell fish --installopenclaw completion --write-stateopenclaw completion --shell bash --write-stateOptions
Section titled “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
--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.