rustlavel-cli
The rustlavel command: scaffold an application, run it, generate the parts of it.
Part of Rustlavel, a full-stack web framework for Rust written from scratch.
Install
New applications
Generators
make:seeder, make:middleware, make:job, make:mail, make:notification,
make:mcp-tool, make:package and make:docker are there too.
Running an application
Commands that need the application itself — migrate, db:seed, route:list,
queue:work — are forwarded to the project's own binary. On a deployed machine
there is no cargo and no source, so you run that binary directly:
That is why rustlavel build produces one file: it is the administration tool as well
as the server.
Upgrading a project
The starter kit is copied into your application, so it does not move when the framework does. This brings it forward:
It merges three versions of every file the kit owns: what the version in
.rustlavel/manifest.json wrote, what is in your project now, and what this CLI would
write. Where one side changed, that side wins. Where both changed, the file gets
<<<<<<< markers and the project stops compiling until you resolve it — deliberately,
because a half-applied upgrade found later is worse than a build that fails now.
The base is fetched from crates.io (with curl and tar, which is why doctor checks
for them) and cached. Your own files are never touched.
Going from 0.5.0 to 0.7.2 is a large jump and has a step-by-step runbook:
Upgrading to 0.7.2.
Read step 7 before you run db:seed.
Documentation
Licence
MIT.