Liking cljdoc? Tell your friends :D

r


->>ppclj

(->>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}`
raw docstring

->>tap>clj

(->>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}`
raw docstring

->ppclj

(->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}`
raw docstring

->tap>clj

(->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}`
raw docstring

cclj

(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)
raw docstring

clear-aliasesclj

(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
raw docstring

describe-nsclj

(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
raw docstring

find-nsclj

(find-ns re)

Find namespace vars by a regex

Find namespace vars by a regex
raw docstring

find-test-nsclj

alias for r/tests

alias for `r/tests`
raw docstring

find-testsclj

alias for r/tests

alias for `r/tests`
raw docstring

get-sys'clj


helpclj

(help)

Get help about all r functionality

Get help about all `r` functionality
raw docstring

init-tap-log!clj


list-nsclj

(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`
raw docstring

ppclj

(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
raw docstring

ppnclj

Pretty print given thing

Pretty print given thing
raw docstring

refreshclj

(refresh)

Refresh changed namespaces, only if its safe

Refresh changed namespaces, only if its safe
raw docstring

refresh-allclj

(refresh-all)

Refresh everything, only if its safe

Refresh everything, only if its safe
raw docstring

restart-sys'clj


restart-system!clj

(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
raw docstring

safe-to-refresh?clj

(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
raw docstring

start-sys'clj


start-system!clj

(start-system! & [component-map-fn])

stop-sys'clj


stop-system!clj

(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
raw docstring

sysclj

(sys)

Get the running system map

Get the running system map
raw docstring

system-storeclj


tclj

(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
raw docstring

t!clj

(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
raw docstring

tap-log-clear!clj

(tap-log-clear!)

Clear the log

Clear the log
raw docstring

tap-log-getclj

(tap-log-get)

Return tap logged data

Return tap logged data
raw docstring

tap-log-init!clj

(tap-log-init!)

Initialize a tap> listener and store the ref to it

Initialize a `tap>` listener and store the ref to it
raw docstring

tap-log-stop!clj

(tap-log-stop!)

Clear tap log and remove the listener

Clear tap log and remove the listener
raw docstring

testsclj

(tests pattern)

Find test namespace vars by a regex

Find test namespace vars by a regex
raw docstring

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

× close