mabi_cli/lib.rs
1#![allow(clippy::ptr_arg, clippy::should_implement_trait)] // Preserve existing CLI helper APIs.
2
3//! # mabi-cli
4//!
5//! Installed command surface for the Mabinogion protocol resilience engine.
6//!
7//! This crate provides local operator commands and runner-facing contracts for:
8//! - Protocol/session execution through `mabi serve`
9//! - Installed binary smoke checks through `mabi doctor`
10//! - Runtime, schema, and version inspection
11//! - Scenario/config validation with machine-readable envelopes
12//! - Stable Imugi and Trials integration metadata
13
14pub mod commands;
15pub mod context;
16pub mod error;
17pub mod output;
18pub mod prelude;
19pub mod runner;
20pub mod runner_contract;
21pub mod runtime_registry;
22pub mod validation;
23
24pub use context::{CliContext, CliContextBuilder};
25pub use error::{CliError, CliResult};
26pub use output::{OutputFormat, OutputWriter};
27pub use runner::CommandRunner;
28pub use runner_contract::{CliOutputEnvelope, LOCAL_RUNNER_CONTRACT_VERSION};