#69 Phase 1b: 删除 cat 和 schema 子命令 #74
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Parent: #69 (Phase 1 of #67)
Depends: Phase 1a
Scope(仅删除命令,不改输出格式)
删除的命令
cat— 含--payload逻辑,cmdCat函数,dispatch caseschema put—cmdSchemaPut函数schema get—cmdSchemaGet函数schema list—cmdSchemaList函数schema validate—cmdSchemaValidate函数schemadispatch block — 整个 schema 子命令 routing新增
ucas list --type <hash-or-alias>命令 — 替代schema list,按类型列出所有 node hashucas verify增强 — 在验 hash 完整性基础上,增加 payload 对 schema 的验证(吸收 schema validate)更新
不做的事
Verification
bun test通过ucas cat/ucas schema put等报 unknown commanducas list --type @schema能列出所有 schemaucas verify <hash>同时验完整性和 schema 合规