mecha10-cli 0.6.3

Mecha10 CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Train command arguments

use clap::Args;

/// Launch a training job: interactive menu of job definitions (bundled + project-defined,
/// `configs/rl/jobs/*.yml`), then a choice of local or remote (Kestra/SaaS) dispatch.
#[derive(Args, Debug, Default)]
pub struct TrainArgs {
    /// Job name to run (matches a `name:` in `configs/rl/jobs/*.yml`). Skips the interactive
    /// job picker.
    #[arg(long)]
    pub job: Option<String>,

    /// Dispatch target: "local" or "remote". Skips the interactive local/remote picker.
    #[arg(long)]
    pub target: Option<String>,
}