Liking cljdoc? Tell your friends :D

leiningen.update-in

Perform arbitrary transformations on your project map.

Perform arbitrary transformations on your project map.
raw docstring

parse-argsclj

(parse-args key-path f args)
source

update-inclj

(update-in project key-path f & args)

Perform arbitrary transformations on your project map.

Acts a lot like calling clojure.core/update-in on your project map and then invoking a task on it, but with a few differences. Instead of a vector of keys for reaching into nested maps, just mash keywords together like ":repl-options:port". A single ":" refers to the map root. Provide the arguments to f (which must be a resolvable var) followed by "--", and then the task name and arguments to the task:

$ lein update-in :dependencies conj "[slamhound \"1.1.3\"]" -- repl
Perform arbitrary transformations on your project map.

Acts a lot like calling `clojure.core/update-in` on your project map
and then invoking a task on it, but with a few differences. Instead of
a vector of keys for reaching into nested maps, just mash keywords
together like ":repl-options:port". A single ":" refers to the map
root. Provide the arguments to f (which must be a resolvable var)
followed by "--", and then the task name and arguments to the task:

    $ lein update-in :dependencies conj "[slamhound \"1.1.3\"]" -- repl
sourceraw docstring

update-projectclj

(update-project project keys-vec f args)
source

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

× close