Module infrastructure

Module infrastructure 

Source
Expand description

Infrastructure management module

Manages Docker infrastructure services (Redis, PostgreSQL, etc.) for both control plane (monorepo) and project-level environments.

§Module Structure

  • commands - Clap command definitions
  • handlers - Command handlers (orchestration)
  • types - Shared types (Args, Action enums)

§Example

use mecha10_cli::infrastructure::{handle_infrastructure, InfrastructureArgs, InfrastructureAction};

let args = InfrastructureArgs {
    action: InfrastructureAction::Start,
    services: vec![],
};
handle_infrastructure(&mut ctx, &args).await?;

Modules§

commands
Infrastructure command arguments
handlers
Infrastructure command handlers
types
Infrastructure types