跳轉到主要內容

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

重設本機設定/狀態(保留已安裝的 CLI)。 選項:
  • --scope <scope>configconfig+creds+sessionsfull
  • --yes:略過確認提示
  • --non-interactive:停用提示;需要 --scope--yes
  • --dry-run:印出動作而不移除檔案
範例:
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
備註:
  • 如果你想在移除本機狀態前取得可還原的快照,請先執行 openclaw backup create
  • 如果省略 --scopeopenclaw reset 會使用互動式提示來選擇要移除的項目。
  • --non-interactive 只有在同時設定 --scope--yes 時才有效。

相關