CLI

1. Overview

The cli library is a fully-featured toolkit for building CLI programs.

2. stats

2.1. dependencies

(ql:quickload :doc)
(let ((sys (asdf:find-system :cli)))
  (asdf:system-depends-on sys))
  • std
  • log
  • dat

2.2. dependents

(ql:quickload :doc)
(let ((sys (doc:system-documentation :cli)))
  (mapcar (lambda (s) (asdf:component-name (doc:doc-system s))) (doc:doc-dependents sys)))
  • packy
  • pod
  • vc
  • skel
  • bin/packy
  • bin/skel
  • bin/rdb
  • bin/homer
  • bin/organ
  • cli/tests
  • prelude

2.3. files

(mapcar (lambda (p)
            (enough-namestring p (asdf:system-source-directory :cli)))
          (doc:doc-files (doc:system-documentation :cli)))
  • pkg.lisp
  • ansi.lisp
  • env.lisp
  • progress.lisp
  • spark.lisp
  • repl.lisp
  • shell.lisp
  • prompt.lisp
  • ed.lisp
  • tools/pkg.lisp
  • tools/term.lisp
  • tools/tmux.lisp
  • tools/pacman.lisp
  • tools/cc.lisp
  • tools/systemd.lisp
  • tools/cargo.lisp
  • tools/sbcl.lisp
  • clap/pkg.lisp
  • clap/ast.lisp
  • clap/vars.lisp
  • clap/util.lisp
  • clap/macs.lisp
  • clap/proto.lisp
  • clap/opt.lisp
  • clap/cmd.lisp
  • clap/cli.lisp
  • cli.lisp

2.4. packages

(mapcar (lambda (p) (package-name (doc:doc-package p)))
        (doc:doc-packages (doc:system-documentation :cli)))
  • CLI/TOOLS/SBCL
  • CLI/CLAP/OBJ
  • CLI/CLAP/SIMPLE
  • CLI/SHELL
  • CLI/TOOLS/TERM
  • CLI/ANSI
  • CLI/CLAP/PROTO
  • CLI/CLAP/AST
  • CLI/ED
  • CLI/TOOLS/PACMAN
  • CLI/TOOLS/CARGO
  • CLI/CLAP
  • CLI
  • CLI/TOOLS/CC
  • CLI/CLAP/VARS
  • CLI/TESTS
  • CLI/TOOLS/TMUX
  • CLI/REPL
  • CLI/CLAP/UTIL
  • CLI/ENV
  • CLI/PROGRESS
  • CLI/PROMPT
  • CLI-USER
  • CLI/SPARK
  • CLI/CLAP/MACS
  • CLI/TOOLS/SYSTEMD

2.5. tests

(ql:quickload :cli/tests)
(print rt:*test-suite* nil)
#<RT:TEST-SUITE CLI [11:11:0:0] {1024C26D03}>
(rt:tests rt:*test-suite*)
(#<RT:TEST SBCL-TOOLS :fn SBCL-TOOLS-TEST1773 {1024C46DF3}>
 #<RT:TEST MAIN-OUTPUT :fn MAIN-OUTPUT-TEST1772 {1024C46D03}>
 #<RT:TEST CLAP-AST :fn CLAP-AST-TEST1771 {1024C46C13}>
 #<RT:TEST ENV :fn ENV-TEST1770 {1024C46B23}>
 #<RT:TEST REPL :fn REPL-TEST1769 {1024C46A33}>
 #<RT:TEST SPARK :fn SPARK-TEST1768 {1024C46943}>
 #<RT:TEST PROGRESS :fn PROGRESS-TEST1767 {1024C46853}>
 #<RT:TEST CLAP-OPTS :fn CLAP-OPTS-TEST1766 {1024C46763}>
 #<RT:TEST CLAP-BASIC :fn CLAP-BASIC-TEST1765 {1024C46643}>
 #<RT:TEST CLI-PROMPT :fn CLI-PROMPT-TEST1764 {1024C403C3}>
 #<RT:TEST ANSI :fn ANSI-TEST1763 {1024C26F13}>)