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 completion และเลือกติดตั้งลงในโปรไฟล์ shell ของคุณได้
การใช้งาน
ตัวเลือก
-s, --shell <shell>: shell เป้าหมาย (zsh,bash,powershell,fish; ค่าเริ่มต้น:zsh)-i, --install: ติดตั้ง completion โดยเพิ่มบรรทัด source ลงในโปรไฟล์ shell ของคุณ--write-state: เขียนสคริปต์ completion ลงใน$OPENCLAW_STATE_DIR/completionsโดยไม่พิมพ์ไปยัง stdout-y, --yes: ข้ามข้อความยืนยันการติดตั้ง
หมายเหตุ
--installจะเขียนบล็อก “OpenClaw Completion” ขนาดเล็กลงในโปรไฟล์ shell ของคุณ และชี้ไปยังสคริปต์ที่แคชไว้- หากไม่ใช้
--installหรือ--write-stateคำสั่งจะพิมพ์สคริปต์ไปยัง stdout - การสร้าง completion จะโหลดโครงสร้างคำสั่งแบบ eager เพื่อให้รวม subcommands ที่ซ้อนอยู่ด้วย