CLI commands

重設

OmeniaClaw reset

重設本機設定/狀態(保留已安裝的 CLI)。

選項:

  • --scope <scope>configconfig+creds+sessionsfull
  • --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
  • 如果省略 --scopeOmeniaClaw reset 會使用互動式提示來選擇要移除的項目。
  • --non-interactive 只有在同時設定 --scope--yes 時才有效。

相關

Was this useful?
On this page

On this page