feat(cli): add init workspace command (#36 Phase 1)

- Add cmd-init.ts with cmdInitWorkspace and stub cmdInitTemplate
- Wire init subcommands into cli-dispatch.ts
- Generate monorepo skeleton: package.json (bun workspace), biome.json,
  tsconfig.json, AGENTS.md placeholder, README.md, templates/, workflows/
- Error on existing directory
- Add init-workspace.test.ts (all passing)

Testing: #46
This commit is contained in:
2026-05-07 21:18:58 +08:00
parent 4403532f35
commit 2df8accf2f
4 changed files with 337 additions and 25 deletions
Regular → Executable
View File