Liking cljdoc? Tell your friends :D

noahtheduke.splint.cli


cli-optionsclj

source

help-messageclj

(help-message summary)
source

pick-visibleclj

(pick-visible config)
source

(print-config options)
source

(print-errors errors)
source

validate-optsclj

(validate-opts args)

Parse and validate seq of strings.

Returns either a map of {:exit-message "some str" :ok logical-boolean} or {:options {map of cli opts} :paths [seq of strings]}.

:ok is false if given invalid options or an option is provided after paths.

Parse and validate seq of strings.

Returns either a map of {:exit-message "some str" :ok logical-boolean}
or {:options {map of cli opts} :paths [seq of strings]}.

:ok is false if given invalid options or an option is provided after paths.
sourceraw docstring

validate-pathsclj

(validate-paths options paths)

Treat any path strings that begin with '--' as suspect and reject the whole call. No doubt this fails for some paths, but if you're doing that, get outta here.

Treat any path strings that begin with '--' as suspect and reject the whole call. No
doubt this fails for some paths, but if you're doing that, get outta here.
sourceraw docstring

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

× close