mecha10-cli 0.6.5

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

use clap::Subcommand;

/// Stop subcommands
///
/// Mirrors `RunCommand`'s target-argument shape (see `commands::run`) so `mecha10 stop <target>`
/// pairs naturally with `mecha10 run <target>`. Only `remote` is implemented today - see
/// `handlers::stop` - but new targets (e.g. `robot`) slot in as additional variants here.
#[derive(Subcommand, Debug)]
pub enum StopCommand {
    /// Stop the remote target's Docker Compose stack
    Remote,
}