Skip to content

feat: add grafex init command#50

Merged
andresilva-cc merged 1 commit intomainfrom
feat-grafex-init
Apr 5, 2026
Merged

feat: add grafex init command#50
andresilva-cc merged 1 commit intomainfrom
feat-grafex-init

Conversation

@andresilva-cc
Copy link
Copy Markdown
Contributor

Summary

  • New grafex init CLI command that scaffolds a starter project with tsconfig.json and composition.tsx
  • Skips existing files with a "Skipped" message instead of overwriting
  • Error handling via try/catch with clean stderr output (consistent with export/dev commands)
  • --help / -h flag support
  • Updated Getting Started docs and CLI reference on the website
  • Updated README quickstart section

Test plan

  • Unit tests for CLI routing (grafex init, grafex init --help)
  • Integration tests for file creation, skip-existing behavior, and help output
  • 304 tests passing

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grafex Ready Ready Preview, Comment Apr 5, 2026 2:40am

@andresilva-cc andresilva-cc merged commit 486d948 into main Apr 5, 2026
5 checks passed
@andresilva-cc andresilva-cc deleted the feat-grafex-init branch April 5, 2026 02:42
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.

1 participant