feat: add --uninstall support to install script

- Add --uninstall flag to remove installed components
- List items to be removed before confirmation
- Remove pass_mgr binary, skills modules, and env config
- Preserve admin key directory (warns user to remove manually)
- Update PROJECT_PLAN.md with uninstall usage
This commit is contained in:
zhi
2026-03-05 10:13:29 +00:00
parent 8d270bfddf
commit 21d04b17cd
2 changed files with 92 additions and 1 deletions

View File

@@ -286,6 +286,12 @@ node install.mjs --build-only
# 跳过依赖检测
node install.mjs --skip-check
# 卸载
node install.mjs --uninstall
# 从指定路径卸载
node install.mjs --uninstall --prefix /usr/local
```
---