summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-07-27 16:36:37 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-07-27 16:36:37 +0200
commit69d2334a5121edbbaa7356428e2d6e8fbd5d3443 (patch)
treee99dbdf04ce67123f2339e12e9a67e5345f9c4fc /src/cli.rs
parent6c018b14d1ddd2d1d89e62b2e1488ccbcebbaf49 (diff)
parent707898fe04354001130f02a68e1443288d85af3f (diff)
Merge branch 'endpoint-images'
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 512e35a..0da6745 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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")
+ )
+ )
+ )
)
}