Expand description
Project template service for generating project files
This service coordinates template generation across specialized modules:
- Rust templates (Cargo.toml, main.rs, build.rs)
- Infrastructure templates (docker-compose.yml, .env)
- Meta templates (README.md, .gitignore, package.json)
§Architecture
Templates are organized into focused modules under crate::templates:
- RustTemplates: Rust-specific files
- InfraTemplates: Infrastructure files
- MetaTemplates: Project metadata files
Template content is stored in external files at packages/cli/templates/
and embedded at compile time using include_str!().
Structs§
- Project
Template Service - Service for generating project template files