aboutsummaryrefslogtreecommitdiff
path: root/app/show.lisp
blob: 2270e67031011c3d641285276ee939d96a7405dd (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"
   :handelr #'show/handler ))