mecha10-cli 0.6.5

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

use clap::Subcommand;

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