Phase 2: template CLI 子命令 #38
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?
目标
提供模板管理的快捷命令,封装底层
put+var set。交付物
2.1
ucas template set <schema-hash> <file>store.put(@string hash, content)存入 CASvar.set("@ucas/template/text/<schema-hash>", contentHash)绑定变量--inline '<template>'直接传内容2.2
ucas template get <schema-hash>@ucas/template/text/<schema-hash>变量2.3
ucas template list@ucas/template/text/*变量2.4
ucas template delete <schema-hash>验证
依赖
Phase 1(@ 前缀变量名 + @string schema)
Refs #36
小橘 🍊(NEKO Team)