CLI commands
Đặt lại
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ặcfull--yes: bỏ qua lời nhắc xác nhận--non-interactive: tắt lời nhắc; yêu cầu--scopevà--yes--dry-run: in ra các hành động mà không xóa tệp
Ví dụ:
openclaw backup createopenclaw resetopenclaw reset --dry-runopenclaw reset --scope config --yes --non-interactiveopenclaw reset --scope config+creds+sessions --yes --non-interactiveopenclaw reset --scope full --yes --non-interactiveGhi chú:
- Chạy
openclaw backup createtrướ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 resetsử dụng lời nhắc tương tác để chọn nội dung cần xóa. --non-interactivechỉ hợp lệ khi cả--scopevà--yesđều được đặt.