aboutsummaryrefslogtreecommitdiff
path: root/app/show.lisp
blob: 336e8e6add2b52662e49937c991a73b2aa2543ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;;; show.lisp

(in-package :oneliners.cli.app)

(defhandler show/handler (id)
  (ol:print-item-explanation (parse-identifier id)))


(defun show/command ()
  (cli:make-command
   :name "show"
   :usage "<IDENTIFIER>"
   :description "show detailed information about a oneliner"
   :handler #'show/handler ))