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.
(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.
(merge-opt-map specs getopt-map)
(name-for-type t)
(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.
(parse-cmdline-from-specs specs argv & [prog-name])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close