feat: auto-bootstrap CAS store on open (Phase 1a) #76
Reference in New Issue
Block a user
Delete Branch "fix/73-auto-bootstrap"
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
openStore() 自动创建目录 + bootstrap,删除 init/bootstrap 命令。
Why
Phase 1a of #67 — 简化 CLI,无需手动初始化 store。
Changes
json-cas-fs/store.ts— 新增 asyncopenStore(),自动 mkdir + bootstrap + 目录校验cli-json-cas/index.ts— 删除 init/bootstrap 命令,所有 openStore 调用加 awaitRef
Fixes #73