Skip to main content

STANDALONE_COMMANDS

Constant STANDALONE_COMMANDS 

Source
pub const STANDALONE_COMMANDS: &[&str];
Expand description

The built-in commands that need NO project — no App, database, settings, or compiled models — and can therefore run standalone. Every OTHER command (serve, migrate, makemigrations, seed_data, …) needs the project’s compiled App, so the global umbral binary forwards it to cargo run -- <cmd> instead.

Keep this in sync with try_run_standalone. It’s a list, not a special case: add a project-independent utility here and both the global binary and cargo run -- <cmd> pick it up.