Liking cljdoc? Tell your friends :D

skeptic.cli.main

Legacy deps.edn-side entrypoint for Skeptic.

Hermetic Clojure CLI execution is exposed through skeptic.tool/check and clj -T:skeptic check. clojure -M:skeptic starts from the client project's runtime classpath, so it is intentionally unsupported.

Legacy deps.edn-side entrypoint for Skeptic.

Hermetic Clojure CLI execution is exposed through `skeptic.tool/check`
and `clj -T:skeptic check`. `clojure -M:skeptic` starts from the client
project's runtime classpath, so it is intentionally unsupported.
raw docstring

-mainclj

(-main & args)
source

check-from-launcherclj

(check-from-launcher)

Hermetic-host entrypoint invoked from the lein-skeptic launcher.

The launcher writes a single EDN map to this process's stdin: {:root <project root absolute path> :paths [<source-path> ...] :worker {:port <int>} :args [<raw CLI args>]}

The launcher does NOT parse CLI flags; this entrypoint parses :args via the canonical skeptic.cli.options vector. That keeps CLI evolution entirely host-side: new flags need only a Skeptic release, not a lein-skeptic release.

The launcher (not the host) spawned the worker JVM and built its classpath; the host JVM only connects to the already-running worker via nrepl client. The synthetic :worker-spawn fn returned by launcher-worker-spawn keeps skeptic.core/check-project's existing dispatch path unchanged.

Returns the int exit code from check-project; the launcher's host JVM exits with this value.

Hermetic-host entrypoint invoked from the lein-skeptic launcher.

The launcher writes a single EDN map to this process's stdin:
  {:root   <project root absolute path>
   :paths  [<source-path> ...]
   :worker {:port <int>}
   :args   [<raw CLI args>]}

The launcher does NOT parse CLI flags; this entrypoint parses
`:args` via the canonical skeptic.cli.options vector. That keeps
CLI evolution entirely host-side: new flags need only a Skeptic
release, not a lein-skeptic release.

The launcher (not the host) spawned the worker JVM and built its
classpath; the host JVM only connects to the already-running
worker via nrepl client. The synthetic :worker-spawn fn returned
by `launcher-worker-spawn` keeps `skeptic.core/check-project`'s
existing dispatch path unchanged.

Returns the int exit code from check-project; the launcher's host
JVM exits with this value.
sourceraw docstring

check-projectclj

(check-project opts)

Run Skeptic from an already-hermetic tool/plugin runtime.

opts is the arg map shape accepted by clj -T:skeptic check; :project-dir selects the client project to analyze. The client project's deps.edn basis is used only to discover input paths and is not added to this JVM's classpath.

Run Skeptic from an already-hermetic tool/plugin runtime.

`opts` is the arg map shape accepted by `clj -T:skeptic check`; `:project-dir`
selects the client project to analyze. The client project's deps.edn basis is
used only to discover input paths and is not added to this JVM's classpath.
sourceraw docstring

deps-cli-optionsclj

source

runclj

(run _opts)

Legacy exec-fn entrypoint. -X is not hermetic; use clj -T:skeptic check.

Legacy exec-fn entrypoint. `-X` is not hermetic; use `clj -T:skeptic check`.
sourceraw docstring

run-cliclj

(run-cli _args)

Legacy -M entrypoint. Always returns 1 because -M is not hermetic.

Legacy -M entrypoint. Always returns 1 because -M is not hermetic.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close