fix: uwf cas — JSON output + meta-schema in schema list #326
Reference in New Issue
Block a user
Delete Branch "fix/319-cas-json-output"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
所有
uwf cas子命令统一 JSON 输出,与其他 uwf 命令一致。Changes
cas.ts— 所有命令返回数据结构,不再直接 console.logcli.ts— 统一用writeJson()输出schema list包含 meta-schema(之前被跳过)--jsonflag 和--format tree(统一 JSON,不需要人类格式)输出示例
Refs #319
LGTM ✅ 统一 JSON 输出 + 命令函数返回数据而非直接打印,职责分离更清晰。meta-schema 纳入 list 也对。