Liking cljdoc? Tell your friends :D

clojopts.ui


*stop-at-first-non-option*clj

If bound to true, stops processing at the first non-option parameter, and returns the remainder as :clojopts/more. If false (the default), non-option parameters are collected in the middle of option parsing, and returned as :clojopts/more.

If bound to true, stops processing at the first non-option parameter, and returns
the remainder as :clojopts/more. If false (the default), non-option parameters are
collected in the middle of option parsing, and returned as :clojopts/more.
raw docstring

build-getopt-fragmentclj

(build-getopt-fragment spec)

Turn a simple spec-map into a getopt string fragment, by gluing together all of the short option names, and sticking the appropriate number of colons after any options that take parameters.

Turn a simple spec-map into a getopt string fragment, by gluing
together all of the short option names, and sticking the appropriate
number of colons after any options that take parameters.
raw docstring

merge-opt-mapclj

(merge-opt-map specs getopt-map)

name-for-typeclj

(name-for-type t)

opt-listclj


optionclj

(option names doc specs)

Takes a name (or vector of names), a docstring, and an optional set of :option, value pairs, and returns an attribute map representing all that information in a single (internal to clojopts) object.

Takes a name (or vector of names), a docstring, and an optional set
of :option, value pairs, and returns an attribute map representing all
that information in a single (internal to clojopts) object.
raw docstring

parse-cmdline-from-specsclj

(parse-cmdline-from-specs specs argv & [prog-name])

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

× close