diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-05-11 09:21:51 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-05-11 09:21:51 +0200 |
commit | 57f4d1d10d22aea3dc40d6a00090faa03b156641 (patch) | |
tree | 5a327beddd033d5fe535800854e2e9647c6af0d8 /src/cli.rs | |
parent | 6da36985ec40fb720d176ff050b810772ff80560 (diff) | |
parent | fc9635a3d392925f95175ab8a9c89a02debe269c (diff) |
Merge branch 'db-log-of'
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -309,6 +309,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") |