2 #+author: Richard Westhaver
3 #+description: Command-line Interface Library
4 #+setupfile: clean.theme
6 #+property: header-args :dir ~/comp/core/ :exports both
7 #+setupfile: ../../../clean.theme
11 The
=cli= library is a fully-featured toolkit for building
[[https://en.wikipedia.org/wiki/Command-line_interface][CLI]] 17 #+begin_src lisp :results list 19 (let ((sys (asdf:find-system :cli)))
20 (asdf:system-depends-on sys))
29 #+begin_src lisp :results list 31 (let ((sys (doc:system-documentation :cli)))
32 (mapcar (lambda (s) (asdf:component-name (doc:doc-system s))) (doc:doc-dependents sys)))
45 #+begin_src lisp :output replace :results list 47 (enough-namestring p (asdf:system-source-directory :cli)))
48 (doc:doc-files (doc:system-documentation :cli)))
81 #+begin_src lisp :output replace :results list 82 (mapcar (lambda (p) (package-name (doc:doc-package p)))
83 (doc:doc-packages (doc:system-documentation :cli)))
115 #+begin_src lisp :output replace 116 (ql:quickload :cli/tests)
117 (print rt:*test-suite* nil)
121 : #
<RT:TEST-SUITE CLI [11:11:0:0] {101709DC53}> 123 #+begin_src lisp :output replace 124 (rt:tests rt:*test-suite*)
129 (#<RT:TEST SBCL-TOOLS :fn SBCL-TOOLS-TEST749 {10170B9CF3}>
130 #<RT:TEST MAIN-OUTPUT :fn MAIN-OUTPUT-TEST748 {10170B9C03}>
131 #<RT:TEST CLAP-AST :fn CLAP-AST-TEST747 {10170B9B13}>
132 #<RT:TEST ENV :fn ENV-TEST746 {10170B9A23}>
133 #<RT:TEST REPL :fn REPL-TEST745 {10170B9933}>
134 #<RT:TEST SPARK :fn SPARK-TEST744 {10170B9843}>
135 #<RT:TEST PROGRESS :fn PROGRESS-TEST743 {10170B9753}>
136 #<RT:TEST CLAP-OPTS :fn CLAP-OPTS-TEST742 {10170B9663}>
137 #<RT:TEST CLAP-BASIC :fn CLAP-BASIC-TEST741 {10170B9543}>
138 #<RT:TEST CLI-PROMPT :fn CLI-PROMPT-TEST740 {101709EFF3}>
139 #<RT:TEST ANSI :fn ANSI-TEST739 {101709DE63}>)