mecha10-cli 0.8.0

Mecha10 CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Types for topics commands

use clap::Subcommand;

#[derive(Subcommand)]
pub enum TopicsCommand {
    List {
        #[arg(default_value = "mecha10:*")]
        pattern: String,

        #[arg(short, long)]
        verbose: bool,

        #[arg(short, long, default_value = "true")]
        grouped: bool,
    },
}