summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-05-11 09:21:51 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-05-11 09:21:51 +0200
commit57f4d1d10d22aea3dc40d6a00090faa03b156641 (patch)
tree5a327beddd033d5fe535800854e2e9647c6af0d8 /src/cli.rs
parent6da36985ec40fb720d176ff050b810772ff80560 (diff)
parentfc9635a3d392925f95175ab8a9c89a02debe269c (diff)
Merge branch 'db-log-of'
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index db99b53..49c3caa 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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")