mecha10_cli/types/
mod.rs

1//! Shared type definitions for the CLI
2//!
3//! This module contains type definitions that are shared across multiple
4//! layers of the CLI (commands, handlers, services).
5//!
6//! # Organization
7//!
8//! - **cli**: CLI command types (Clap Args, Commands enum)
9//! - **project**: Project configuration types (mecha10.json)
10//! - **simulation**: Simulation configuration types (runtime and project-level)
11//!
12//! # Design Principles
13//!
14//! - **Domain-focused**: Types represent domain concepts, not CLI concerns
15//! - **Shared**: Only types used in multiple places belong here
16//! - **Serializable**: Most types derive Serialize/Deserialize
17//! - **Well-documented**: All public types have rustdoc comments
18
19// Type modules
20pub mod cli;
21pub mod project;
22pub mod simulation;
23
24// Re-exports for convenience
25pub use cli::{Cli, Commands};
26pub use project::{
27    load_project_config, DashboardConfig, EnvironmentConfig, EnvironmentsConfig, NodeEntry, ProjectConfig,
28};
29pub use simulation::SimulationConfig;