docs: add --update command documentation

Generated with SWE-Agent.ai

Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
cexll
2026-01-26 17:17:40 +08:00
parent 5a50131a13
commit 3d76d46336
2 changed files with 10 additions and 0 deletions

View File

@@ -174,10 +174,15 @@ npx github:cexll/myclaude
# 列出可安装项module:* / skill:* / codeagent-wrapper
npx github:cexll/myclaude --list
# 检测已安装 modules 并从 GitHub 更新
npx github:cexll/myclaude --update
# 指定安装目录 / 强制覆盖
npx github:cexll/myclaude --install-dir ~/.claude --force
```
`--update` 会在目标安装目录(默认 `~/.claude`,优先读取 `installed_modules.json`)检测已安装 modules并从 GitHub 拉取最新发布版本覆盖更新。
### 模块配置
编辑 `config.json` 启用/禁用模块: