| Crates.io | allframe-forge |
| lib.rs | allframe-forge |
| version | 0.1.12 |
| created_at | 2025-12-05 01:59:54.34347+00 |
| updated_at | 2025-12-15 01:35:04.390169+00 |
| description | AllFrame CLI - Project scaffolding and code generation |
| homepage | https://all-source-os.github.io/all-frame |
| repository | https://github.com/all-source-os/all-frame |
| max_upload_size | |
| id | 1967448 |
| size | 405,757 |
AllFrame CLI - Project scaffolding and code generation
The AllFrame CLI tool for creating and managing AllFrame projects.
cargo install allframe-forge
# Create a new AllFrame project
allframe ignite my-api
# Navigate to the project
cd my-api
# Run the API
cargo run
The generated project includes:
my-api/
├── Cargo.toml
├── src/
│ ├── main.rs # Application entry point
│ ├── handlers/ # API handlers
│ ├── domain/ # Domain models
│ └── infrastructure/ # Database, config, etc.
├── tests/ # Integration tests
└── examples/ # Usage examples
# Create new project
allframe ignite <name>
# Generate handler
allframe generate handler <name>
# Generate command (CQRS)
allframe generate command <name>
# Generate query (CQRS)
allframe generate query <name>
allframe ignite my-api --template minimal
# Simple REST API with basic routing
allframe ignite my-api --template full
# Complete setup with REST, GraphQL, gRPC, and CQRS
allframe ignite my-api --template cqrs
# CQRS-focused architecture with event sourcing
Generated projects use allframe-core with sensible defaults:
[dependencies]
allframe-core = { version = "0.1", features = [
"di",
"openapi",
"router",
"otel"
] }
After creating a project:
# Run the API
cargo run
# Run tests
cargo test
# Run with specific features
cargo run --features graphql,grpc
# View API documentation
# Visit http://localhost:8080/docs after starting
See the examples/ directory in the AllFrame repository for complete project examples.
Licensed under either of:
at your option.