omne_cli/commands/mod.rs
1//! Subcommand handlers.
2//!
3//! Every subcommand lives in a single file under `src/commands/` and
4//! exposes two items: an `Args` struct (deriving `clap::Args`) that
5//! defines the per-subcommand CLI surface, and a `run(args: &Args)`
6//! function that returns `Result<(), crate::error::CliError>`. The
7//! top-level dispatch in `main.rs` is an exhaustive `match` on the
8//! `cli::Command` enum, so adding a new subcommand requires touching
9//! exactly this file, `src/cli.rs`, and a new `commands/<name>.rs`.
10
11pub mod init;
12pub mod run;
13pub mod status;
14pub mod upgrade;
15pub mod validate;