fix: add init-db CLI for host install/upgrade metadata seed
All checks were successful
技能自动化发布 / release (push) Successful in 6s
All checks were successful
技能自动化发布 / release (push) Successful in 6s
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
|
||||
## 子命令速查(按业务流程)
|
||||
|
||||
### 0. 运行时初始化(宿主标准)
|
||||
|
||||
| CLI | 说明 |
|
||||
|---|---|
|
||||
| `init-db` | 幂等初始化本地 SQLite、schema 迁移与数据管理中文元数据(`_jiangchang_*`)。成功输出 JSON:`{"ok":true,"skill":"account-manager","db_path":"..."}`。**匠厂安装/升级技能时会调用本命令**;业务命令内部也会触发同等 `init_db()`。 |
|
||||
|
||||
### A. 平台管理
|
||||
|
||||
| CLI | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user