What to build
Add a --verbose flag that shows detailed output during generation: which files are being processed, which Handlebars tags are being replaced, which dependencies are being injected, and timing information.
Files to modify
src/generate.js
src/dependencies.js
index.js
Specs
- Normal mode: only spinners and success/fail messages (current behavior).
- Verbose mode: log every file processed, every dependency injected, timing for each phase.
- Format:
[phase] action — detail (e.g., [compile] Processing — app/layout.tsx (3 tags replaced)).
Acceptance criteria
Dependencies
What to build
Add a
--verboseflag that shows detailed output during generation: which files are being processed, which Handlebars tags are being replaced, which dependencies are being injected, and timing information.Files to modify
src/generate.jssrc/dependencies.jsindex.jsSpecs
[phase] action — detail(e.g.,[compile] Processing — app/layout.tsx (3 tags replaced)).Acceptance criteria
opusify create --verboseshows detailed file-by-file output.Dependencies