Expand description
§mabi-cli
CLI framework for the OT Protocol Simulator.
This crate provides a highly extensible CLI framework with:
- Trait-based command abstraction
- Protocol-agnostic command execution
- Rich terminal output with progress indicators
- Configurable output formats (table, JSON, YAML)
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;
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.
- runtime_
registry - validation
- Reusable CLI argument validators.