mecha10-cli 0.9.0

Mecha10 CLI tool
Documentation
//! `mecha10 robot` command arguments.
//!
//! Manages robots registered under the caller's account against the control plane's
//! `/api/robots*` endpoints (LAB robot-delete-list-cli).

use clap::Subcommand;

#[derive(Subcommand, Debug)]
pub enum RobotCommand {
    /// List robots registered under the caller's account.
    List,

    /// Delete a robot by name.
    ///
    /// This soft-deletes the robot under the caller's account: training runs, models, and
    /// configs tied to it are not deleted, and the name becomes available for re-registration
    /// afterward.
    Delete {
        /// Name of the robot to delete.
        name: String,

        /// Skip the confirmation prompt.
        #[arg(short = 'y', long)]
        yes: bool,
    },
}