From f116178dcf8b450c76400e2a0fbd2991f2c227b4 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 5 Aug 2022 08:58:35 -0500 Subject: [wip] [refactor] [add] subcommands. --- app/search.lisp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'app/search.lisp') 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. " -- cgit v1.2.3