Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
openclaw completion
產生 shell 補全指令碼,並可選擇安裝到你的 shell 設定檔。
使用方式
選項
-s, --shell <shell>:shell 目標(zsh、bash、powershell、fish;預設:zsh)-i, --install:透過在你的 shell 設定檔加入 source 行來安裝補全--write-state:將補全指令碼寫入$OPENCLAW_STATE_DIR/completions,不輸出到標準輸出-y, --yes:略過安裝確認提示
注意事項
--install會將一個小型的「OpenClaw 補全」區塊寫入你的 shell 設定檔,並指向快取的指令碼。- 若未使用
--install或--write-state,此命令會將指令碼輸出到標準輸出。 - 補全產生會預先載入命令樹,因此會包含巢狀子命令。