remove
停用插件并清理遗留的受管理块、注入子块和脚本。
用法
navori remove <plugin> [--yes] [--cwd <dir>]
参数
<plugin> 待移除插件 id:codegraph、tgrep、acli、gh。 --yes 跳过确认。 --cwd <dir> 仓库目录,默认为当前目录。 示例
移除插件
$ navori remove tgrep --yes ◆ 'tgrep' removed and cleaned up. └ Done
engram 无法移除
$ navori remove engram └ engram is always-on with navori; it can't be removed.
注意事项
- 先设 enabled:false 并渲染以清理块和脚本,再移除配置键;直接删除键会跳过清理。
- 渲染失败时退出 1,配置保留 enabled:false,避免 CI 将半写入状态视为成功。