(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`.
Ensures dependency due to use of :local/...
keywords. Do not delete.
Ensures dependency due to use of `:local/...` keywords. Do not delete.
(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`.
(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.
(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`.
(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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close