liboci_cli/
list.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;

/// List created containers
#[derive(Parser, Debug)]
pub struct List {
    /// Specify the format (default or table)
    #[clap(long, default_value = "table")]
    pub format: String,

    /// Only display container IDs
    #[clap(long, short)]
    pub quiet: bool,
}