Chuyển đến nội dung chính

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 reset

Đặt lại cấu hình/trạng thái cục bộ (giữ CLI đã cài đặt). Tùy chọn:
  • --scope <scope>: config, config+creds+sessions, hoặc full
  • --yes: bỏ qua lời nhắc xác nhận
  • --non-interactive: tắt lời nhắc; yêu cầu --scope--yes
  • --dry-run: in ra các hành động mà không xóa tệp
Ví dụ:
openclaw backup create
openclaw reset
openclaw reset --dry-run
openclaw reset --scope config --yes --non-interactive
openclaw reset --scope config+creds+sessions --yes --non-interactive
openclaw reset --scope full --yes --non-interactive
Ghi chú:
  • Chạy openclaw backup create trước nếu bạn muốn có một bản chụp có thể khôi phục trước khi xóa trạng thái cục bộ.
  • Nếu bạn bỏ qua --scope, openclaw reset sử dụng lời nhắc tương tác để chọn nội dung cần xóa.
  • --non-interactive chỉ hợp lệ khi cả --scope--yes đều được đặt.

Liên quan