Liking cljdoc? Tell your friends :D

pallet.command-line

Process command-line arguments according to a given cmdspec

Process command-line arguments according to a given cmdspec
raw docstring

group-byclj

(group-by f coll)

Returns a sorted map of the elements of coll keyed by the result of f on each element. The value at each key will be a vector of the corresponding elements, in the order they appeared in coll.

Returns a sorted map of the elements of coll keyed by the result of
f on each element. The value at each key will be a vector of the
corresponding elements, in the order they appeared in coll.
sourceraw docstring

joinclj

(join separator coll)

Returns a string of all elements in coll, separated by separator. Like Perl's join.

Returns a string of all elements in coll, separated by
separator.  Like Perl's join.
sourceraw docstring

make-mapclj

(make-map args cmdspec)
source

(print-help desc cmdmap)
source

with-command-lineclj/smacro

(with-command-line args desc cmdspec & body)

Bind locals to command-line args.

Bind locals to command-line args.
sourceraw docstring

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

× close