Perform arbitrary transformations on your project map.
Perform arbitrary transformations on your project map.
(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\"]" -- replcljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |