CLI commands

รีเซ็ต

OmeniaClaw reset

รีเซ็ต config/สถานะภายในเครื่อง (ยังคงติดตั้ง CLI ไว้)

ตัวเลือก:

  • --scope <scope>: config, config+creds+sessions หรือ full
  • --yes: ข้ามข้อความยืนยัน
  • --non-interactive: ปิดการถามตอบ; ต้องใช้ร่วมกับ --scope และ --yes
  • --dry-run: แสดงการกระทำโดยไม่ลบไฟล์

ตัวอย่าง:

bash
OmeniaClaw backup createOmeniaClaw resetOmeniaClaw reset --dry-runOmeniaClaw reset --scope config --yes --non-interactiveOmeniaClaw reset --scope config+creds+sessions --yes --non-interactiveOmeniaClaw reset --scope full --yes --non-interactive

หมายเหตุ:

  • รัน OmeniaClaw backup create ก่อน หากคุณต้องการ snapshot ที่กู้คืนได้ก่อนลบสถานะภายในเครื่อง
  • หากคุณไม่ระบุ --scope, OmeniaClaw reset จะใช้ prompt แบบโต้ตอบเพื่อเลือกว่าจะลบอะไร
  • --non-interactive ใช้ได้ก็ต่อเมื่อตั้งค่าทั้ง --scope และ --yes

ที่เกี่ยวข้อง

Was this useful?
On this page

On this page