Skip to content

fix(cli): align generate types UX with other generate flows#48

Open
sharma2464 wants to merge 1 commit into
nitrocloudofficial:mainfrom
sharma2464:enhancement/generate-types-ux-alignment
Open

fix(cli): align generate types UX with other generate flows#48
sharma2464 wants to merge 1 commit into
nitrocloudofficial:mainfrom
sharma2464:enhancement/generate-types-ux-alignment

Conversation

@sharma2464

Copy link
Copy Markdown

Summary

  • generate types skipped showFooter() and analytics tracking (trackEvent/shutdownAnalytics) that every other generate path already does on success/failure
  • Banner was already shared correctly via generate() dispatch — gap was purely the footer/tracking at the end of generate-types.ts

Test plan

  • npx tsc --noEmit clean
  • npm run build succeeds
  • Ran generate types with no *.tools.ts files — fails gracefully, no footer (matches other failure paths)
  • Ran generate types with a sample *.tools.ts file — success path now ends with the footer block matching other generate commands

Fixes #14

🤖 Generated with Claude Code

generate types skipped showFooter() and analytics tracking that every
other generate path (and init/dev/start) does on completion, leaving
output visually inconsistent and untracked.

Fixes nitrocloudofficial#14
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.

[CLI] Align generate types UX with other commands (banner/footer)

1 participant