diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-10 14:36:35 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-10 14:37:12 +0200 |
commit | fc9635a3d392925f95175ab8a9c89a02debe269c (patch) | |
tree | d1bb252fc621896721194ec754a17ba578077a6d /src/cli.rs | |
parent | b56aa86b161edf12f7d0b01c05e76758e3e8bd94 (diff) |
Add subcommand "db log-of"
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -301,6 +301,18 @@ pub fn cli<'a>() -> App<'a> { .arg(script_arg_highlight()) .arg(script_arg_no_highlight()) ) + .subcommand(App::new("log-of") + .version(crate_version!()) + .about("Print log of a job, short version of 'db job --log'") + .arg(Arg::new("job_uuid") + .required(true) + .multiple(false) + .index(1) + .takes_value(true) + .value_name("UUID") + .about("The id of the Job") + ) + ) .subcommand(App::new("releases") .version(crate_version!()) .about("List releases") |