diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-10-28 15:14:35 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-10-28 15:14:35 +0100 |
commit | 8c44493435494104575e04bdb17e21c5677b469c (patch) | |
tree | aea6c24a6ec3e6896b56aed8ab25f287029717a3 /src/cli.rs | |
parent | 072be04325d114668115e588058f29ed27f36a6c (diff) |
Add CLI interface for docker image name
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -29,6 +29,14 @@ pub fn cli<'a>() -> App<'a> { .help("Pass these variables to each build job (expects \"key=value\" or name of variable available in ENV)") ) + .arg(Arg::with_name("image") + .required(true) + .multiple(false) + .short('I') + .long("image") + .help("Name of the docker image to use") + ) + } /// Naive check whether 's' is a 'key=value' pair or an existing environment variable |