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.
(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.
(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.
(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].
(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.
(show-help specs)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close