Liking cljdoc? Tell your friends :D

clojopts.getopt


*testing*clj

Bind to true in order to prevent clojopts from calling System/exit when --help is supplied; this kills swank as well, which is kinda a pain.

Bind to true in order to prevent clojopts from calling
System/exit when --help is supplied; this kills swank as well, which
is kinda a pain.
raw docstring

get-long-optsclj

(get-long-opts spec)

Take a single spec-map, and return a seq of LongOpt objects representing the long options it's willing to take.

Take a single spec-map, and return a seq of LongOpt objects
representing the long options it's willing to take.
raw docstring

getopt-mapclj

(getopt-map [opt-seq non-opts])

Turn an option seq into a map of keyword=>[values] pairs.

Turn an option seq into a map of keyword=>[values] pairs.
raw docstring

getopt-seqclj

(getopt-seq getopt)

Turn iterative calls to gnu getopt into a seq of return values. Returns a vector [option-list all-non-options].

Turn iterative calls to gnu getopt into a seq of return values.
Returns a vector [option-list all-non-options].
raw docstring

long-opt-argmodeclj


make-getoptclj

(make-getopt prog-name opt-string long-opts argv specs)

Construct a handle to a getopt parser object. The return value will be a map containing a GNU GetOpt object, as well as various bookkeeping data necessary for working with it. Clients should make no assumptions about the structure of this map.

Construct a handle to a getopt parser object. The return value will be a map
containing a GNU GetOpt object, as well as various bookkeeping data necessary
for working with it. Clients should make no assumptions about the structure of
this map.
raw docstring

process-optioncljmultimethod


show-helpclj

(show-help specs)

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

× close