mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
//! Add command arguments
//!
//! Commands for adding components to a Mecha10 project.

use clap::{Args, Subcommand};

/// Add components to the project
#[derive(Subcommand, Debug)]
pub enum AddCommand {
    /// Generate a new custom node
    Node(AddNodeArgs),
}

/// Arguments for the add node command
#[derive(Args, Debug)]
pub struct AddNodeArgs {
    /// Name of the node to create (e.g., "my-sensor", "path-planner")
    pub name: String,

    /// Description of the node
    #[arg(short, long)]
    pub description: Option<String>,
}