CLI 命令

重置

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