mecha10-cli 0.9.0

Mecha10 CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Target command arguments
//!
//! `mecha10 target` shows the targets configured in mecha10.json; `mecha10 target platform`
//! interactively updates which platform(s) one of them builds for.

use clap::{Args, Subcommand};

#[derive(Subcommand)]
pub enum TargetCommand {
    Platform(#[command(flatten)] TargetPlatformArgs),
}

#[derive(Args)]
pub struct TargetPlatformArgs {
    pub target: Option<String>,
}