RustF CLI
rustf-cli is the fastest way to create, inspect, and maintain a RustF
project. It is not just a scaffolder: it also handles schema workflows,
database inspection, validation, project analysis, and MCP serving for AI
tools.
Start Here
If you are new to the CLI, this is the shortest useful path:
- Install it: see Installation
- Create an app: Create a Project
- Generate pieces as the app grows: Generate Components
- Add database workflow: Database & Schemas
- Audit the project before commits: Analysis & Validation
Most Common Commands
rustf-cli new project my-app
rustf-cli new controller -n users
rustf-cli new crud -n posts
rustf-cli schema generate models
rustf-cli analyze project --detailed
rustf-cli validate
Task-Focused Guides
- Create a Project - bootstrap a new RustF app
- Generate Components - controllers, middleware, modules, workers, CRUD
- Database & Schemas - schema generation, code generation, database inspection
- Analysis & Validation - route checks, project inspection, consistency validation
- Serve & MCP - local CLI server and AI-tool integration
- Full Reference - one-page command catalog
What the CLI Covers
- Project scaffolding
- Component generation
- Database introspection
- YAML schema workflows
- Route and project analysis
- Validation and consistency checks
- Local MCP serving for AI assistants