Liking cljdoc? Tell your friends :D

clojupyter.install.local


DEFAULT-LOGLEVELSclj


install-specclj

(install-spec user-opts install-env)

Given a representation of the choices provided by the user (user-opts) and values found in the environment (install-env), returns a map specifying how Clojupyter is to be installed.

user-opts must conform to the spec :local/user-opts and install-env to :local/install-env.

The returned value conforms to the spec :local/install-spec.

Given a representation of the choices provided by the user (`user-opts`) and values found in the
environment (`install-env`), returns a map specifying how Clojupyter is to be installed.

`user-opts` must conform to the spec `:local/user-opts` and `install-env` to
`:local/install-env`.

The returned value conforms to the spec `:local/install-spec`.
raw docstring

s*generate-install-effectsclj

(s*generate-install-effects install-spec)

Adds a sequence of effects to the threaded state using s*action-append. For each error identified error condition s*log-error is called to provide details. If no errors are found the added effects will, if invoked, install Clojupyter according to install-spec.

Adds a sequence of effects to the threaded state using `s*action-append`.  For each error identified
error condition `s*log-error` is called to provide details.  If no errors are found the added
effects will, if invoked, install Clojupyter according to `install-spec`.
raw docstring

s*generate-remove-actionclj

(s*generate-remove-action regex-string install-env)

s*installclj

(s*install {:keys [skip-execute? skip-report? log-levels] :as opts}
           user-opts
           install-env)

Return a function which, given an initial state, returns a new state with the installation results.

Return a function which, given an initial state, returns a new state with the installation
results.
raw docstring

s*list-installs-matchingclj

(s*list-installs-matching env regex-string)

Returns a function which, given a state, updates the state with information about Clojuputer kernels with kernels matching regex-string.

Returns a function which, given a state, updates the state with information about Clojuputer kernels
with kernels matching `regex-string`.
raw docstring

s*report-installclj

(s*report-install env install-spec log-levels)

Returns a function which, given a state, uses the cmdline api to update state with user output regarding the installation result.

Returns a function which, given a state, uses the cmdline api to update state with user output
regarding the installation result.
raw docstring

s*report-removeclj

Uses the cmdline api to update state with user output regarding the removal result.

Uses the cmdline api to update state with user output regarding the removal result.
raw docstring

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

× close