(->>pp tag thing)
Pretty print in ->>
threading macro. Optionally tag the thing with :tag
to pp a hash map of {tag thing}
Pretty print in `->>` threading macro. Optionally tag the thing with `:tag` to pp a hash map of `{tag thing}`
(->pp thing tag)
Pretty print in ->
threading macro. Optionally tag the thing with :tag
to pp a hash map of {tag thing}
Pretty print in `->` threading macro. Optionally tag the thing with `:tag` to pp a hash map of `{tag thing}`
(c component-key)
Get a component from the running system, e.g (r/c :postgres)
Get a component from the running system, e.g (r/c :postgres)
(clear-aliases)
(clear-aliases an-ns)
Reset aliases for given ns or current one if no args given
Reset aliases for given ns or current one if no args given
(describe-ns an-ns & {:keys [s docs?]})
Describes given namespace by listing public symbols, optionally filters down via :s <search>
and can optionally add the doc string with :docs?
true
Describes given namespace by listing **public** symbols, optionally filters down via `:s <search>` and can optionally add the doc string with `:docs?` true
(list-ns)
(list-ns root)
Return list of symbols of namespaces found in a dir. Default: ./src
Return list of symbols of namespaces found in a dir. Default: `./src`
(pp thing)
Like ppn
, but returns passed in data. Useful for debugging threaded calls
Like `ppn`, but returns passed in data. Useful for debugging threaded calls
(refresh)
Refresh changed namespaces, only if its safe
Refresh changed namespaces, only if its safe
(refresh-all)
Refresh everything, only if its safe
Refresh everything, only if its safe
(restart-system!)
Restarts the system with an optional reload. If the system is not running, it will start it
Restarts the system with an optional reload. If the system is not running, it will start it
(safe-to-refresh?)
Check if refresh is safe, by verifying that application system is not running
Check if refresh is safe, by verifying that application system is not running
(start-system! & [component-map-fn])
(stop-system!)
Given a namespace, usually some-service.user, stop the system. If not passed, stops currently running system
Given a namespace, usually some-service.user, stop the system. If not passed, stops currently running system
(t)
(t ns-list)
Run tests via kaocha - either all or a list of vars.
note
It will not refresh any code - use t!
for that
Run tests via kaocha - either all or a list of vars. > [!NOTE] > It will not refresh any code - use `t!` for that
(t!)
(t! & ns-list)
Run tests via kaocha, but refresh first - runs all tests or a list (or one) of ns vars.
![NOTE] Refresh happens only if it's safe to do so e.g. dev system is not running
Run tests via kaocha, but refresh first - runs all tests or a list (or one) of ns vars. > ![NOTE] > Refresh happens only if it's safe to do so e.g. dev system is not running
(tap-> thing)
(tap-> thing tag)
Like tap>
but returns input, and is designed for threading macros. Optionally tag the thing with :tag
to tap a hash map of {tag thing}
Like `tap>` but returns input, and is designed for threading macros. Optionally tag the thing with `:tag` to tap a hash map of `{tag thing}`
(tap->> thing)
(tap->> tag thing)
Like tap>
but returns input, and is designed for threading macros. Optionally tag the thing with :tag
to tap a hash map of {tag thing}
Like `tap>` but returns input, and is designed for threading macros. Optionally tag the thing with `:tag` to tap a hash map of `{tag thing}`
(tests pattern)
Find test namespace vars by a regex
Find test namespace vars by a regex
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close