openclaw completion
shell completion script를 생성하고, 원하면 shell profile에 설치합니다.
Usage
Options
-s, --shell <shell>: 대상 shell (zsh,bash,powershell,fish; 기본값:zsh)-i, --install: shell profile에 source line을 추가해 completion을 설치--write-state: script를 stdout에 출력하지 않고$OPENCLAW_STATE_DIR/completions에 기록-y, --yes: install confirmation prompt를 건너뜀
Notes
--install은 shell profile에 작은 “OpenClaw Completion” block을 쓰고, cached script를 가리키게 합니다.--install과--write-state둘 다 없으면 command는 script를 stdout으로 출력합니다.- completion generation은 command tree를 eager하게 로드하므로 nested subcommand도 포함됩니다.