Liking cljdoc? Tell your friends :D

leiningen.repl

Start a repl session either with the current project or standalone.

Start a repl session either with the current project or standalone.
raw docstring

ack-portclj

(ack-port project)
source

ack-serverclj

The server which handles ack replies.

The server which handles ack replies.
sourceraw docstring

clientclj

(client project attach)
source

client-repl-portclj

(client-repl-port project)
source

connect-stringclj

(connect-string project opts)
source

ensure-portclj

(ensure-port s)
source

init-nsclj

(init-ns {{:keys [init-ns]} :repl-options :keys [main]})
source

is-uri?clj

(is-uri? s)
source

lookup-optclj

(lookup-opt opt-key opts)
source

nrepl-dependency?clj

(nrepl-dependency? {:keys [dependencies]})
source

opt-greeting-fnclj

(opt-greeting-fn opts)
source

opt-hostclj

(opt-host opts)
source

opt-portclj

(opt-port opts)
source

opt-transportclj

(opt-transport opts)
source

options-for-replyclj

(options-for-reply project & {:keys [attach port]})
source

replclj

(repl project)
(repl project subcommand & opts)

Start a repl session either with the current project or standalone.

Subcommands:

<none> -> :start

:start [:host host] [:port port] This will launch an nREPL server and connect a client to it. If the :host key is given, LEIN_REPL_HOST is set, or :host is present under :repl-options, that host will be attached to, defaulting to localhost otherwise, which will block remote connections. If the :port key is given, LEIN_REPL_PORT is set, or :port is present under :repl-options in the project map, that port will be used for the server, otherwise it is chosen randomly. When starting outside of a project, the nREPL server will run internally to Leiningen. When run under trampoline, the client/server step is skipped entirely; use the :headless command to start a trampolined server.

:headless [:host host] [:port port] This will launch an nREPL server and wait, rather than connecting a client to it.

:connect [dest] Connects to an already running nREPL server. Dest can be:

  • host:port -- connects to the specified host and port;
  • port -- resolves host from the LEIN_REPL_HOST environment variable or :repl-options, in that order, and defaults to localhost. If no dest is given, resolves the host resolved as described above and the port from LEIN_REPL_PORT, :repl-options, or .nrepl-port in the project root, in that order. Providing an argument that begins with @ and points to a filename containing a connect string will read that file and use its contents, allowing sensitive credentials to be kept out of the process table and shell history.

:transport [transport] Start nREPL using the transport referenced here, instead of using the default bencode transport. Useful is you want to leverage a client that can't handle bencode. If no transport is given then it will be inferred by checking LEIN_REPL_TRANSPORT, :repl-options, or .nrepl.edn (global one or in the project root), in that order.

:greeting-fn [greeting-fn] Function used to generate the greeting message in the REPL after the nREPL server has started. Useful for "dumb" transports like TTY, or when you want to send some custom message to clients on connect. If no greeting-fn is given then it will be inferred by checking LEIN_REPL_GREETING_FN, :repl-options, or .nrepl.edn (global one or in the project root), in that order.

For connecting to HTTPS repl servers add [nrepl/drawbridge "0.1.5"] to your :plugins list.

Note: the :repl profile is implicitly activated for this task. It cannot be deactivated, but it can be overridden.

Start a repl session either with the current project or standalone.

Subcommands:

<none> -> :start

:start [:host host] [:port port]
  This will launch an nREPL server and connect a client to it.
  If the :host key is given, LEIN_REPL_HOST is set, or :host is present
  under :repl-options, that host will be attached to, defaulting to
  localhost otherwise, which will block remote connections. If the :port
  key is given, LEIN_REPL_PORT is set, or :port is present under
  :repl-options in the project map, that port will be used for
  the server, otherwise it is chosen randomly. When starting outside
  of a project, the nREPL server will run internally to Leiningen. When
  run under trampoline, the client/server step is skipped entirely; use
  the :headless command to start a trampolined server.

:headless [:host host] [:port port]
  This will launch an nREPL server and wait, rather than connecting
  a client to it.

:connect [dest]
  Connects to an already running nREPL server. Dest can be:
  - host:port -- connects to the specified host and port;
  - port -- resolves host from the LEIN_REPL_HOST environment
      variable or :repl-options, in that order, and defaults to
      localhost.
  If no dest is given, resolves the host resolved as described above
  and the port from LEIN_REPL_PORT, :repl-options, or .nrepl-port in
  the project root, in that order. Providing an argument that begins
  with @ and points to a filename containing a connect string will read
  that file and use its contents, allowing sensitive credentials to be
  kept out of the process table and shell history.

:transport [transport]
  Start nREPL using the transport referenced here, instead of using the
  default bencode transport. Useful is you want to leverage a client
  that can't handle bencode.
  If no transport is given then it will be inferred by checking
  LEIN_REPL_TRANSPORT, :repl-options, or .nrepl.edn (global one or in
  the project root), in that order.

:greeting-fn [greeting-fn]
  Function used to generate the greeting message in the REPL after the
  nREPL server has started. Useful for "dumb" transports like TTY, or
  when you want to send some custom message to clients on connect.
  If no greeting-fn is given then it will be inferred by checking
  LEIN_REPL_GREETING_FN, :repl-options, or .nrepl.edn (global one or in
  the project root), in that order.

For connecting to HTTPS repl servers add [nrepl/drawbridge "0.1.5"]
to your :plugins list.

Note: the :repl profile is implicitly activated for this task. It cannot be
deactivated, but it can be overridden.
sourceraw docstring

repl-greeting-fnclj

(repl-greeting-fn project)
source

repl-hostclj

(repl-host project)
source

repl-portclj

(repl-port project)
source

repl-transportclj

(repl-transport project)
source

reply-profileclj

source

serverclj

(server project cfg headless?)
source

string-from-fileclj

(string-from-file arg)
source

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

× close