diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-22 17:45:10 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-23 08:21:51 +0200 |
commit | c84f183867da4423d219b65474e9271b33128a63 (patch) | |
tree | 509000f4f6ee7ea475e1e7b9c7ad501d161aa62a | |
parent | b39f15d9f7ed589b9078dd9b1f7003c69de74f32 (diff) |
Add CLI spec for "endpoint images" subcommand
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r-- | src/cli.rs | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -1214,6 +1214,32 @@ pub fn cli<'a>() -> App<'a> { .long_about("Display details about the container. Do not assume the output format to be stable.") ) ) + .subcommand(App::new("images") + .version(crate_version!()) + .about("Query images on endpoint(s)") + .subcommand(App::new("list") + .version(crate_version!()) + .about("List images on endpoint(s)") + .arg(Arg::new("csv") + .required(false) + .multiple(false) + .long("csv") + .takes_value(false) + .about("List top output as CSV") + ) + ) + .subcommand(App::new("verify-present") + .version(crate_version!()) + .about("Verify that all configured images are present on endpoint(s)") + .arg(Arg::new("csv") + .required(false) + .multiple(false) + .long("csv") + .takes_value(false) + .about("List top output as CSV") + ) + ) + ) ) } |