diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-08-30 13:22:04 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-09-06 11:15:08 +0200 |
commit | ed9d61a07ac69b9bdaf649356622e2553d0ef72c (patch) | |
tree | e4c87c873443a2028b789e9dfe1443df740189c7 /src/cli.rs | |
parent | 436c9a371aadc57ca6e0bf218cab85f47fbb4441 (diff) |
Add CLI option to call find-artifacts subcommand with filter for image
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -654,6 +654,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") |