summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-09-09 08:38:59 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-09-09 08:38:59 +0200
commit7fa55210e54e49e419d9e0bcff3ca7f144aac597 (patch)
treea6d7eb2430461ebf23832828cbdb9a2f059f896f /src/cli.rs
parent9f021c020ada7403bec2a0dbff0f1b052b916b70 (diff)
parented9d61a07ac69b9bdaf649356622e2553d0ef72c (diff)
Merge branch 'rewrite-find-artifact'
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 5c4b399..dbafd91 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -662,6 +662,15 @@ pub fn cli<'a>() -> App<'a> {
.validator(env_pass_validator)
.about("Filter for this \"key=value\" environment variable")
)
+ .arg(Arg::new("image")
+ .required(false)
+ .multiple(false)
+ .long("image")
+ .short('I')
+ .takes_value(true)
+ .value_name("IMAGE")
+ .about("Only list artifacts that were built on IMAGE")
+ )
)
.subcommand(App::new("find-pkg")