summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
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")