Liking cljdoc? Tell your friends :D

r


cclj

(c component-name)

Pul out a compont from a running system, pass keyword for the component name

Pul out a compont from a running system, pass keyword for the component name
sourceraw docstring

clear-aliasesclj

(clear-aliases)
(clear-aliases an-ns)

Reset aliases for given ns or current if no args given

Reset aliases for given ns or current if no args given
sourceraw 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 :doc true

Describes given namespace by listing PUBLIC symbols, optionally filters down via :s <search>
and can optionally add the doc string with :doc true
sourceraw docstring

find-nsclj

(find-ns re)

Find namespace vars by a regex

Find namespace vars by a regex
sourceraw docstring

find-test-nsclj

source

helpclj

(help)
source

list-nsclj

(list-ns)
(list-ns root)

Return list of symbols of namespaces found in src dir. Default: ./src

Return list of symbols of namespaces found in src dir. Default: ./src
sourceraw 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
sourceraw docstring

ppnclj

Pretty print given thing

Pretty print given thing
sourceraw docstring

refreshclj

(refresh)

Refresh changed namespaces, only if its safe

Refresh changed namespaces, only if its safe
sourceraw docstring

refresh-allclj

(refresh-all)

Refresh everything, only if its safe

Refresh everything, only if its safe
sourceraw docstring

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
sourceraw 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
sourceraw docstring

start-system!clj

(start-system!)
(start-system! an-ns)

Given a namespace, usually some-service, do the following:

  • find some-service.user namespace (by convention)
  • refresh
  • require the user ns e.g. some-service.user
  • start system, invoking somer-service.user/start Warning: best if the system is not running, or things will go south

Example: (r/start-system! 'foo.user)

Given a namespace, usually some-service, do the following:
- find some-service.user namespace (by convention)
- refresh
- require the user ns e.g. some-service.user
- start  system, invoking somer-service.user/start
Warning: best if the system is not running, or things will go south

Example: (r/start-system! 'foo.user)
sourceraw docstring

stop-system!clj

(stop-system!)
(stop-system! an-ns)

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
sourceraw docstring

sysclj

(sys)

Pull out the system for passing around

Pull out the system for passing around
sourceraw docstring

system-nsclj

(system-ns)
source

tclj

(t)
(t ns-list)

Run tests via kaocha - either all or a list of vars. WILL NOT REFRESH

Run tests via kaocha - either all or a list of vars. WILL NOT REFRESH
sourceraw 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

Run tests via kaocha, but refresh first - runs all tests or a list (or one) of ns vars
sourceraw docstring

tap-log-clear!clj

(tap-log-clear!)

Clear the log

Clear the log
sourceraw docstring

tap-log-getclj

(tap-log-get)

Return tap logged data

Return tap logged data
sourceraw 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
sourceraw docstring

tap-log-stop!clj

(tap-log-stop!)

Clear tap log and remove the listener

Clear tap log and remove the listener
sourceraw docstring

testsclj

(tests pattern)

Find test namespace vars by a regex

Find test namespace vars by a regex
sourceraw docstring

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

× close