swordmaster-cli-0.1.0 is not a library.
Swordmaster CLI
Scaffold production-ready Rust backend projects in seconds.
Part of Swordmaster — an ecosystem of libraries and tools designed to bring both performance and productivity to backend development, AI systems, data engineering, and distributed systems in Rust.
This CLI generates opinionated, well-structured projects with sensible defaults so you can focus on what matters: your business logic.
Installation
Download the binary
Download the latest release for your platform from GitHub Releases.
# Linux/macOS - move to PATH
# Or add to your local bin
Build from source
The binary will be available at target/release/swordmaster.
Usage
Creating a new project
# Interactive mode (will prompt for project name)
# With project name
# Specify output directory (defaults to parent directory)
# Non-interactive mode
# Initialize in current directory
Command Options
| Flag | Description |
|---|---|
--out-dir, -o |
Output directory (default: ..) |
--init |
Initialize in specified directory instead of creating subdirectory |
--no-interactive |
Disable interactive prompts |
--port, -p |
Application port (default: 3000) |
Generated Project
The CLI generates a complete backend project with:
- Axum web server
- SeaORM database integration with PostgreSQL
- Clean architecture (app/domain/infrastructure layers)
- Docker Compose setup for PostgreSQL
- Dockerfile for production deployment
- Automatic migrations on startup
See the main repository for more details.
License
MIT