aboutsummaryrefslogtreecommitdiff
path: root/app/search.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-08-05 08:58:35 -0500
committerColin Okay <colin@cicadas.surf>2022-08-05 08:58:35 -0500
commitf116178dcf8b450c76400e2a0fbd2991f2c227b4 (patch)
tree67fcc6a6e7035eb0b1929e495bceca2dc4fa564b /app/search.lisp
parent5c590a614544c977964692e41b0e5c19043b142c (diff)
[wip] [refactor] [add] subcommands.
Diffstat (limited to 'app/search.lisp')
-rw-r--r--app/search.lisp14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/search.lisp b/app/search.lisp
index 015a749..afc8f84 100644
--- a/app/search.lisp
+++ b/app/search.lisp
@@ -29,7 +29,19 @@
:short-name #\n
:long-name "newest"
:description "the newest matching oneliners are returned"
- :key :newest)))
+ :key :newest)
+
+ ;; TODO
+ ;; (cli:make-option
+ ;; :flag
+ ;; :short-name #\c
+ ;; :long-name "cache"
+ ;; :description "restrict search to what is already in the local cache"
+ ;; :env-vars '("OL_CACHE_ONLY")
+ ;; :key :cache)
+
+
+ ))
(defun search/handler (cmd)
"Handler function for the search command. "