CLI commands
Completion
openclaw completion
Buat skrip shell completion dan opsional pasang ke profil shell Anda.
Penggunaan
openclaw completion
openclaw completion --shell zsh
openclaw completion --install
openclaw completion --shell fish --install
openclaw completion --write-state
openclaw completion --shell bash --write-state
Opsi
-s, --shell <shell>: target shell (zsh,bash,powershell,fish; default:zsh)-i, --install: pasang completion dengan menambahkan baris source ke profil shell Anda--write-state: tulis skrip completion ke$OPENCLAW_STATE_DIR/completionstanpa mencetak ke stdout-y, --yes: lewati prompt konfirmasi pemasangan
Catatan
--installmenulis blok kecil "OpenClaw Completion" ke dalam profil shell Anda dan mengarahkannya ke skrip cache.- Tanpa
--installatau--write-state, perintah mencetak skrip ke stdout. - Pembuatan completion memuat pohon perintah secara eager sehingga subperintah bertingkat disertakan.