الانتقال إلى المحتوى الرئيسي

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 الخاص بك.

الاستخدام

openclaw completion
openclaw completion --shell zsh
openclaw completion --install
openclaw completion --shell fish --install
openclaw completion --write-state
openclaw completion --shell bash --write-state

الخيارات

  • -s, --shell <shell>: هدف shell (zsh أو bash أو powershell أو fish؛ الافتراضي: zsh)
  • -i, --install: تثبيت الإكمال بإضافة سطر source إلى ملف تعريف shell الخاص بك
  • --write-state: كتابة سكربت/سكربتات الإكمال إلى $OPENCLAW_STATE_DIR/completions من دون الطباعة إلى stdout
  • -y, --yes: تخطي مطالبات تأكيد التثبيت

ملاحظات

  • يكتب --install كتلة صغيرة باسم “OpenClaw Completion” في ملف تعريف shell الخاص بك ويوجهها إلى السكربت المخزن مؤقتًا.
  • من دون --install أو --write-state، يطبع الأمر السكربت إلى stdout.
  • يقوم إنشاء الإكمال بتحميل أشجار الأوامر بشكل مسبق حتى يتم تضمين الأوامر الفرعية المتداخلة.

ذو صلة