Phase 4 Testing: CLI (@uncaged/cli-json-cas) #6
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?
验证目标
命令行工具可用,覆盖基础操作、schema 管理、遍历。
前置
Phase 3 完成(#5)
测试步骤
Step 1: init + bootstrap
预期: 创建
.cas/目录,输出 meta-schema hashStep 2: schema put + list
预期: 注册 schema 输出 hash,list 显示 name + hash
Step 3: put + get
预期: 存入节点输出 hash,get 输出完整 JSON(type, payload, timestamp)
Step 4: verify
预期: 输出验证结果
Step 5: refs + walk
预期: refs 列出直接引用,walk --format tree 展示树形
Step 6: hash(dry run)
预期: 输出 hash 但不存入
验证完成标准
✅ 所有 checkbox 打勾
✅
json-cas --help输出正确Ref: #1