Liking cljdoc? Tell your friends :D

leiningen.zprint


get-switchclj

(get-switch options)

Given an options, get a switch out of it if there is one to get. Throw an exception for a bad switch. Returns [switch old?], where old is the value of :old if options is a map.

Given an options, get a switch out of it if there is one to get.  Throw
an exception for a bad switch. Returns [switch old?], where old is
the value of :old if options is a map.
sourceraw docstring

help-strclj

source

lein-zprint-aboutclj

(lein-zprint-about)

Return version of this program.

Return version of this program.
sourceraw docstring

non-nilclj

(non-nil x y)
source

process-options-as-switchesclj

(process-options-as-switches project-options line-options)

Take the project-options and line-options, and look for switches. If switches are found (and don't conflict with each other), then return :default, :standard, or nil. Throw an exception for a problem. If line-options has switch, ignore project-options if it is not a command, but if it is a command, it must match line-options. Pull :old out of project options. Clean :command out of all of the options, and return them too. Returns [switch old? op-options project-options line-options test?].

Take the project-options and line-options, and look for switches.
If switches are found (and don't conflict with each other), then
return :default, :standard, or nil.  Throw an exception for a
problem.  If line-options has switch, ignore project-options if
it is not a command, but if it is a command, it must match
line-options.  Pull :old out of project options.  Clean :command
out of all of the options, and return them too.  Returns [switch
old? op-options project-options line-options test?].
sourceraw docstring

vec-str-to-strclj

(vec-str-to-str vec-str)

Take a vector of strings and concatenate them into one string with newlines between them.

Take a vector of strings and concatenate them into one string with
newlines between them.
sourceraw docstring

zprintclj

(zprint project & args)

Pretty-print all of the arguments that are not a map, replacing the existing file with the pretty printed one. The old one is kept around with a .old extension. If the first arg is a map, it is considered an options map and subsequent files are pretty printed with those options. Type: lein zprint :help for more complete help!

Pretty-print all of the arguments that are not a map, replacing the
existing file with the pretty printed one.  The old one is kept around
with a .old extension.  If the first arg is a map, it is considered an 
options map and subsequent files are pretty printed with those options.
Type: lein zprint :help
for more complete help!
sourceraw docstring

zprint-aboutclj

(zprint-about)

Return version of zprint library program.

Return version of zprint library program.
sourceraw docstring

zprint-one-fileclj

(zprint-one-file op-options project-options line-options switch old? file-spec)

Take a file name, possibly including a path, and zprint that one file.

Take a file name, possibly including a path, and zprint that one file.
sourceraw docstring

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

× close