How chudickgumanoid/frontend-template works
This repository is a Vue project generator: a user invokes the CLI, supplies a project name, template and optional-feature choices, and receives a copied and customized Vue application. The generator’s control flow is visible in the CLI and scaffold excerpts; the README documents the two complete template variants and their principal capabilities. Template internals are mostly unsampled, so the generated-app nodes describe documented contents rather than inspected runtime wiring.
Main entry points: scaffold.js Scaffold orchestration · index.js Command entry · vue-ts Vue TypeScript template · paths.js Template paths
Components 15
CLI interaction
- Command entry
bin/index.js - Input validation
src/utils/validate.js - Project prompts
src/cli/askProjectName.js - Prompt metadata
src/constants/meta.js
Project generation
- Scaffold orchestration
src/core/scaffold.js - Template paths
src/constants/paths.js - Template copy and directory operations
src/core/files.js - Copy transforms
src/core/render.js - Option customization
src/core/options.js - Progress and results
src/ui/print.js
Vue templates
- Vue JavaScript template
templates/vue-js - Vue TypeScript template
templates/vue-ts - Generated app capabilities
templates/vue-ts/src
Other components
- CLI user
- BTC/USD API
Connections 19
- CLI user → Command entry: invokes
README.md - Command entry → Input validation: checks version
bin/index.js - Command entry → Progress and results: prints banner
bin/index.js - Command entry → Scaffold orchestration: starts generation
bin/index.js - Command entry → Input validation: validates name
bin/index.js - Project prompts → Prompt metadata: reads choices
src/cli/askProjectName.js - Scaffold orchestration → Project prompts: collects choices
src/core/scaffold.js - Scaffold orchestration → Template paths: resolves template
src/core/scaffold.js - Scaffold orchestration → Template copy and directory operations: copies template
src/core/scaffold.js - Scaffold orchestration → Option customization: applies options
src/core/scaffold.js - Scaffold orchestration → Progress and results: reports progress
src/core/scaffold.js - Template paths → Vue JavaScript template: selects source
README.md - Template paths → Vue TypeScript template: selects source
README.md - Template copy and directory operations → Vue JavaScript template: copies selected
README.md - Template copy and directory operations → Vue TypeScript template: copies selected
README.md - Option customization → Vue JavaScript template: removes disabled options
src/core/options.js - Option customization → Vue TypeScript template: removes disabled options
src/core/options.js - Vue TypeScript template → Generated app capabilities: provides app
README.md - Generated app capabilities → BTC/USD API: requests BTC price
templates/vue-ts/src/features/bitcoin-price/api/query.ts