CLI commands
Completion
openclaw completion
Buat skrip shell completion dan opsional pasang ke profil shell Anda.
Penggunaan
openclaw completionopenclaw completion --shell zshopenclaw completion --installopenclaw completion --shell fish --installopenclaw completion --write-stateopenclaw completion --shell bash --write-stateOpsi
-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.