diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-22 10:34:34 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-22 10:34:34 +0200 |
commit | d86d6ff045725bb313ca68652f76ec7f1f82714f (patch) | |
tree | 690911ed45a22d93d51bdfb5c9d16f2d43422789 /src/cli.rs | |
parent | dfeb8312ebf34479ccb82faae116ed242d372f86 (diff) | |
parent | f6229edd41292e19d8c18a81a86542741260e938 (diff) |
Merge branch 'subcommand-submit'
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") |