feat(cli): init command — scaffold workflow workspace #56
Reference in New Issue
Block a user
Delete Branch "feat/36-init-command"
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
Add
uncaged-workflow init workspace <name>anduncaged-workflow init template <name>CLI commands to scaffold local workflow development monorepos.Why
No standardized way to create workflow projects. Developers and coding agents need a consistent project structure with proper dependencies, conventions, and instructions.
Changes
packages/cli-workflow/src/cmd-init.ts—cmdInitWorkspaceandcmdInitTemplateimplementationspackages/cli-workflow/src/cli-dispatch.ts— wireinitsubcommands, refactorusage()toformatCliUsage()packages/cli-workflow/__tests__/init-workspace.test.ts— workspace generation testspackages/cli-workflow/__tests__/init-template.test.ts— template generation testsTesting
bun run checkcleanRef: #36
Review: command
整体质量不错,conventions 遵守得很好 ✅
Minor
都是小问题,不阻塞合并。
Review: init command
整体质量不错,conventions 遵守得很好
Minor
都是小问题,不阻塞合并。