Skip to main content

Crate mabi_cli

Crate mabi_cli 

Source
Expand description

§mabi-cli

Installed command surface for the Mabinogion protocol resilience engine.

This crate provides local operator commands and runner-facing contracts for:

  • Protocol/session execution through mabi serve
  • Installed binary smoke checks through mabi doctor
  • Runtime, schema, and version inspection
  • Scenario/config validation with machine-readable envelopes
  • Stable Forge and Trials integration metadata

Re-exports§

pub use context::CliContext;
pub use context::CliContextBuilder;
pub use error::CliError;
pub use error::CliResult;
pub use output::OutputFormat;
pub use output::OutputWriter;
pub use runner::CommandRunner;
pub use runner_contract::CliOutputEnvelope;
pub use runner_contract::LOCAL_RUNNER_CONTRACT_VERSION;

Modules§

commands
CLI commands module.
context
CLI execution context.
error
CLI error types and result aliases.
output
Output formatting and display.
prelude
Prelude module for convenient imports.
runner
Command runner and execution framework.
runner_contract
Machine-readable CLI contracts for local Forge and Trials runners.
runtime_registry
validation
Reusable CLI argument validators.