Skip to content

feat(cli): add TypeScript starter templates to dotgithub init#32

Open
danbot315 wants to merge 2 commits into
mainfrom
feat/issue-28-ts-starter-templates
Open

feat(cli): add TypeScript starter templates to dotgithub init#32
danbot315 wants to merge 2 commits into
mainfrom
feat/issue-28-ts-starter-templates

Conversation

@danbot315
Copy link
Copy Markdown
Contributor

Closes #28

Summary

Adds starter template selection to dotgithub init for TypeScript-based project bootstrap.

Included

  • New CLI option:
    • dotgithub init --template <name>
  • Supported templates:
    • node-library (default)
    • bun-app
    • monorepo
  • Template-aware generation for:
    • package.json
    • tsconfig.json
    • index.ts starter comments/content
  • Updated docs/command-init.md:
    • corrected default output directory (.github)
    • documented new --template option and examples
  • Added changeset for @dotgithub/cli patch release.

Validation

  • bun run lint
  • bun run build
  • bun run test -- packages/cli/src/index.test.ts

@danbot315 danbot315 requested a review from azweb76 March 3, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add end-to-end CLI integration fixture flow tests

1 participant