mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
//! Run command arguments

use clap::{Args, Subcommand};

/// Run subcommands
#[derive(Subcommand, Debug)]
pub enum RunCommand {
    /// Run robot target (edge/on-robot nodes)
    Robot(RunTargetArgs),

    /// Run remote target (cloud/remote server nodes)
    Remote(RunTargetArgs),
}

/// Common arguments for run targets
#[derive(Args, Debug)]
pub struct RunTargetArgs {
    /// Use release build (default: debug)
    #[arg(short, long)]
    pub release: bool,

    /// Specific nodes to run (comma-separated, default: all target nodes)
    #[arg(short, long)]
    pub nodes: Option<String>,
}