Skip to main content

Module commands

Module commands 

Source
Expand description

Subcommand handlers.

Every subcommand lives in a single file under src/commands/ and exposes two items: an Args struct (deriving clap::Args) that defines the per-subcommand CLI surface, and a run(args: &Args) function that returns Result<(), crate::error::CliError>. The top-level dispatch in main.rs is an exhaustive match on the cli::Command enum, so adding a new subcommand requires touching exactly this file, src/cli.rs, and a new commands/<name>.rs.

Modules§

init
omne init <distro> — scaffold a new omne volume.
run
omne run <pipe> [--input k=v ...] — end-to-end pipe runner.
status
omne status [run_id] — report per-run or global state.
upgrade
omne upgrade [kernel|distro] — replace kernel or distro with latest release.
validate
omne validate — check volume integrity against the v2 layout.