Module basic

Module basic 

Source
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