summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
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 a8b0cc1..f8ad1c4 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")
+ )
+ )
+ )
)
}