Expand description
Template strings for project scaffolding
This module contains all the template strings used when generating
new AllFrame projects with the allframe ignite command.
All templates follow Clean Architecture principles and include:
- Example code demonstrating proper layer separation
- Documentation comments explaining each layer’s purpose
- Trait-based abstractions for dependency inversion
Functions§
- application_
greeting_ service - Generate application/greeting_service.rs content
- application_
mod - Generate application/mod.rs content
- cargo_
toml - Generate Cargo.toml content for a new AllFrame project
- domain_
greeter - Generate domain/greeter.rs content (replaces entities.rs)
- domain_
mod - Generate domain/mod.rs content
- gitignore
- Generate .gitignore content
- infrastructure_
console_ greeter - Generate infrastructure/console_greeter.rs content
- infrastructure_
mod - Generate infrastructure/mod.rs content
- main_rs
- Generate src/main.rs content with tokio runtime
- presentation_
mod - Generate presentation/mod.rs content
- readme
- Generate README.md content for the project