iter(g172): 列表命令支持 JSON 输出

This commit is contained in:
HIsheR
2026-10-26 16:19:32 +08:00
parent a071cb041e
commit 250601dc78
6 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"$schema": "ui-arch-registry-index/0.1",
"generatedAt": "2026-10-26T08:16:48.747Z",
"generatedAt": "2026-10-26T08:18:29.931Z",
"repoRoot": ".",
"packages": [
{
@@ -3654,7 +3654,7 @@
"entry": "bin/ua.js",
"exports": [
"ua index:扫描 packages/ 两层目录的 ua.manifest.json,生成 .ua/index.json 与 llms.txt",
"ua list:列出注册表内所有包与组件数",
"ua list:列出注册表内所有包与组件数;--json 输出「包 + 组件 id」结构化数组,--components 逐组件展开",
"ua info <包名|组件id>:包名返回摘要,组件 id 返回 props 表 + 步骤 + 示例;--json 输出原始清单",
"ua docs:生成人类文档站 apps/docs/index.html + demo.html 与 Agent 全量文档 llms-full.txt",
"ua style:注释规范门禁(导出必须 /*** ***/、接口字段行尾注释、行注释中文),违规退出码 1",