mecha10-cli 0.6.3

Mecha10 CLI tool
Documentation
//! Dev command arguments

use clap::Args;

/// Start development mode with hot-reload
#[derive(Args, Debug)]
pub struct DevArgs {
    /// Specific nodes to run (defaults to all configured nodes)
    pub nodes: Vec<String>,

    /// Watch for file changes and auto-rebuild
    #[arg(long)]
    pub watch: bool,

    /// Skip initial build step
    #[arg(long)]
    pub no_build: bool,

    /// Open an on-screen MuJoCo viewer for the `simulator` node (in addition to the existing
    /// offscreen camera capture), instead of running fully headless.
    ///
    /// Forwarded to the `simulator` node specifically (as `SimulatorConfig.visible` -> the
    /// `mecha10_rl.mujoco.cli serve --visible` subprocess flag - see LAB-1885/LAB-1886). A
    /// no-op with a clear message when this dev session has no `simulator` node running (e.g.
    /// hardware mode, or a node subset that doesn't include it).
    #[arg(long)]
    pub sim_visible: bool,
}