summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 71a2b67..cdf35d3 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -289,6 +289,30 @@ pub fn cli<'a>() -> App<'a> {
.value_name("LIMIT")
.about("Only list newest LIMIT jobs instead of all")
)
+
+ .arg(arg_older_than_date("List only jobs older than DATE"))
+ .arg(arg_newer_than_date("List only jobs newer than DATE"))
+
+ .arg(Arg::new("endpoint")
+ .required(false)
+ .multiple(false)
+ .long("endpoint")
+ .short('e')
+ .takes_value(true)
+ .value_name("ENDPOINT")
+ .about("Only show jobs from ENDPOINT")
+ )
+
+ .arg(Arg::new("package")
+ .required(false)
+ .multiple(false)
+ .long("package")
+ .short('p')
+ .takes_value(true)
+ .value_name("PKG")
+ .about("Only show jobs for PKG")
+ )
+
)
.subcommand(App::new("job")