(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.
(lein-zprint-about)
Return version of this program.
Return version of this program.
(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?].
(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.
(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!
(zprint-about)
Return version of zprint library program.
Return version of zprint library program.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close