mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
//! Service layer for CLI business logic
//!
//! Services contain reusable business logic that can be shared across multiple
//! command handlers. Each service is responsible for a specific domain:
//!
//! - **RedisService**: Redis connection and pub/sub operations
//! - **ConfigService**: Project configuration management
//! - **ProjectService**: Project detection and validation
//! - **TemplateService**: Template rendering for code generation
//! - **SimulationService**: Godot simulation generation
//! - **ProcessService**: Process lifecycle management
//! - **DockerService**: Docker container operations
//! - **ComponentCatalogService**: Component discovery and installation
//! - **PackageService**: Deployment package creation
//! - **DeploymentService**: Remote deployment via SSH
//! - **DiscoveryService**: Network node discovery
//! - **InitService**: Project initialization logic
//! - **ProjectTemplateService**: Project template file generation
//! - **LogsService**: Log file collection and filtering
//! - **DevService**: Development mode operations
//! - **DevSession**: Development session lifecycle management
//! - **ModelService**: AI model management and HuggingFace Hub integration
//! - **SimulationAssetsService**: Simulation asset download from GitHub releases
//! - **RemoteImageService**: Pre-built remote image detection and management
//!
//! # Design Principles
//!
//! - **Stateless**: Services should be stateless where possible
//! - **Reusable**: Services should be usable across multiple commands
//! - **Testable**: Services should have no CLI dependencies
//! - **Focused**: Each service has a single, clear responsibility

// Service modules
pub mod auth;
pub mod binary_manager;
pub mod component_catalog;
pub mod config;
pub mod credentials;
pub mod deployment;
pub mod dev;
pub mod discovery;
pub mod docker;
pub mod init_service;
pub mod logs;
pub mod model_service;
pub mod node_generator;
pub mod package;
pub mod process;
pub mod project;
pub mod project_template_service;
pub mod redis;
pub mod remote_image;
pub mod simulation;
pub mod simulation_assets;
pub mod template;
pub mod template_download;
pub mod topology;

// Re-exports
pub use auth::AuthService;
pub use binary_manager::BinaryManager;
pub use component_catalog::ComponentCatalogService;
pub use config::ConfigService;
pub use credentials::CredentialsService;
pub use deployment::DeploymentService;
pub use dev::DevService;
pub use discovery::DiscoveryService;
pub use docker::DockerService;
pub use init_service::InitService;
pub use logs::{LogContentFilters, LogFileFilters, LogsService};
pub use model_service::ModelService;
pub use node_generator::NodeGeneratorService;
pub use package::PackageService;
pub use process::ProcessService;
pub use project::ProjectService;
pub use project_template_service::ProjectTemplateService;
pub use redis::RedisService;
pub use remote_image::RemoteImageService;
pub use simulation::SimulationService;
pub use simulation_assets::SimulationAssetsService;
pub use template::TemplateService;
pub use template_download::TemplateDownloadService;
pub use topology::{Topology, TopologyService};