Liking cljdoc? Tell your friends :D

trident.repl

Convenience functions for working at the repl.

Suggested usage:

  • Include trident.repl in the extra-deps of your :dev alias
  • Launch a repl with this command: clj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r

This will:

  • begin spec instrumentation with orchestra.spec.test/instrument
  • start an nRepl server (on port 7888 by default)
  • load all namespaces visible to clojure.tools.namespace.repl/refresh
  • call mount.core/start
  • add an alias to reset in the user namespace
Convenience functions for working at the repl.

Suggested usage:
 - Include `trident.repl` in the `extra-deps` of your `:dev` alias
 - Launch a repl with this command:
   `clj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r`

This will:
 - begin spec instrumentation with `orchestra.spec.test/instrument`
 - start an nRepl server (on port 7888 by default)
 - load all namespaces visible to `clojure.tools.namespace.repl/refresh`
 - call `mount.core/start`
 - add an alias to [[reset]] in the `user` namespace
raw docstring

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

× close