メインコンテンツへスキップ

openclaw reset

ローカル config/state をリセットします(CLI はインストールされたままです)。 オプション:
  • --scope <scope>: configconfig+creds+sessions、または full
  • --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
注記:
  • ローカル state を削除する前に復元可能なスナップショットが必要なら、まず openclaw backup create を実行してください。
  • --scope を省略した場合、openclaw reset は対話プロンプトを使って削除内容を選択します。
  • --non-interactive--scope--yes の両方が設定されている場合にのみ有効です。