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

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. If project-options has a command, then fail if line-options has something that is not the same switch. Pull :old out of project options if it contains a command and return it in old?. Returns [switch old?].

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.  If project-options has
a command, then fail if line-options has something that is not the same
switch. Pull :old out of project options if it contains a command and
return it in old?. Returns [switch old?].
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 arg is a map, it is considered an options map and subsequent files are pretty printed with those options.

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 arg is a map, it is considered an options
map and subsequent files are pretty printed with those options.
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 project-options line-options 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