Liking cljdoc? Tell your friends :D

lambdaisland.cli


add-middlewareclj

(add-middleware opts {mw :middleware})
source

args-reclj

source

assoc-flagclj

(assoc-flag flags flagspec)
(assoc-flag flags flagspec & args)
source

build-flagmap-entriesclj

(build-flagmap-entries [flagstr flagopts])
source

cmd->flagsclj

(cmd->flags cmdspec args)
source

coerce-to-pairsclj

(coerce-to-pairs o)
source

default-parseclj

(default-parse s)
source

dispatchclj

(dispatch cmdspec)
(dispatch {:keys [flags] :as cmdspec} cli-args)
(dispatch {:keys [commands doc argnames command flags flagpairs flagmap]
           :as cmdspec
           program-name :name
           :or {program-name "cli"}}
          pos-args
          opts)
source

flag-reclj

source

handle-flagclj

(handle-flag {:keys [flagmap strict?] :as cmdspec} flag cli-args args flags)
source

long?clj

(long? f)
source

parse-arg-namesclj

(parse-arg-names str)
source

parse-error!clj

(parse-error! & msg)
source

parse-flagstrclj

(parse-flagstr flagstr flagopts)
source

parse-flagstrsclj

(parse-flagstrs flagpairs)
source

prepare-cmdpairsclj

(prepare-cmdpairs commands)
source

prepare-flagpairsclj

(prepare-flagpairs flagstrs)
source

(print-help cmd-name doc command-pairs flagpairs)
source

(print-table rows)
(print-table rows {:keys [pad] :or {pad 2}})
source

short?clj

(short? f)
source

split-flagsclj

(split-flags cmdspec cli-args)
source

to-cmdspecclj

(to-cmdspec ?var)
source

transposeclj

(transpose m)
source

update-flagclj

(update-flag flags flagspec f & args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close