summaryrefslogtreecommitdiff
path: root/scripts/mumi.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mumi.in')
-rw-r--r--scripts/mumi.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mumi.in b/scripts/mumi.in
index 755dfb3..9b61729 100644
--- a/scripts/mumi.in
+++ b/scripts/mumi.in
@@ -4,7 +4,7 @@
!#
;;; mumi -- Mediocre, uh, mail interface
;;; Copyright © 2016, 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2018, 2021 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018, 2021, 2023 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of mumi.
;;;
@@ -26,6 +26,7 @@
(system repl server)
(ice-9 match)
(ice-9 format)
+ ((mumi client) #:prefix client:)
(mumi config)
((mumi debbugs)
#:select (extract-bug-numbers))
@@ -116,6 +117,9 @@
(define (show-mumi-usage)
(format (current-error-port)
"
+ `mumi search QUERY':
+ search mumi for issues.
+
`mumi web [--address=address] [--port=port] [--listen-repl[=port]] [--disable-mailer]':
start the application web server.
@@ -132,6 +136,8 @@
(exit 1))
(match (cdr (program-arguments))
+ (("search" . query-strings)
+ (client:search (string-join query-strings)))
(("mailer" . rest)
(let* ((opts (parse-options rest))
(sender (assoc-ref opts 'sender))