diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-21 15:55:05 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-22 08:38:42 +0200 |
commit | f6229edd41292e19d8c18a81a86542741260e938 (patch) | |
tree | 1fdd78b452a3f0c0769e212e6446ce174fab06c1 /src/cli.rs | |
parent | d3f28d5516c53c74f19f975646333efc660ab3b5 (diff) |
Implement "db submit" subcommand
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -152,6 +152,19 @@ pub fn cli<'a>() -> App<'a> { ) ) + .subcommand(App::new("submit") + .version(crate_version!()) + .about("Show details about one specific submit") + .arg(Arg::new("submit") + .required(true) + .multiple(false) + .index(1) + .takes_value(true) + .value_name("SUBMIT") + .about("The Submit to show details about") + ) + ) + .subcommand(App::new("submits") .version(crate_version!()) .about("List submits from the DB") |