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))
28 #+begin_src lisp :results list 30 (let ((sys (doc:system-documentation :cli)))
31 (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)))
75 #+begin_src lisp :output replace :results list 76 (mapcar (lambda (p) (package-name (doc:doc-package p)))
77 (doc:doc-packages (doc:system-documentation :cli)))
103 #+begin_src lisp :output replace 104 (ql:quickload :cli/tests)
105 (print rt:*test-suite* nil)
109 : #
<RT:TEST-SUITE CLI [10:10:0:0] {103BAFED63}> 111 #+begin_src lisp :output replace 112 (rt:tests rt:*test-suite*)
117 (#<RT:TEST MAIN-OUTPUT :fn MAIN-OUTPUT-TEST2479 {103BB3F5C3}>
118 #<RT:TEST CLAP-AST :fn CLAP-AST-TEST2478 {103BB3F4E3}>
119 #<RT:TEST ENV :fn ENV-TEST2477 {103BB3F403}>
120 #<RT:TEST REPL :fn REPL-TEST2476 {103BB3F323}>
121 #<RT:TEST SPARK :fn SPARK-TEST2475 {103BB3F243}>
122 #<RT:TEST PROGRESS :fn PROGRESS-TEST2474 {103BB3F163}>
123 #<RT:TEST CLAP-OPTS :fn CLAP-OPTS-TEST2473 {103BB3F083}>
124 #<RT:TEST CLAP-BASIC :fn CLAP-BASIC-TEST2472 {103BB3EF73}>
125 #<RT:TEST CLI-PROMPT :fn CLI-PROMPT-TEST2471 {103BB10603}>
126 #<RT:TEST ANSI :fn ANSI-TEST2470 {103BAFEF73}>)