Liking cljdoc? Tell your friends :D
Clojure only.

scry.cli

Command-line and clojure -X entry points for scry.

Command-line and `clojure -X` entry points for scry.
raw docstring

runclj

(run opts)

clojure -X entry point for the scry CLI.

Normalizes EDN options, runs the shared CLI implementation, and returns the successful outcome. Throws ex-info with structured outcome data when the CLI run is non-zero so clojure -X exits non-zero without calling System/exit.

Returned outcome data includes the test :summary, :result-files, and :scry.cli/outcome-kind when a run reaches normal classification. If post-run diagnostic/result-file writing fails, the test-derived outcome is preserved, :result-files is empty, and bounded diagnostic metadata is attached as top-level :scry.cli/diagnostic-error. The diagnostic map has stable inspectable keys: :phase, :message, :type, :root-type, :root-message, and :failed-entry-count; when derivable it also includes :first-failing-var and :first-root-cause.

clojure -X invokes the exec fn with nil when no :exec-args/key-value overrides are supplied, so a bare clojure -X:alias (alias sets only :exec-fn) arrives here as nil; treat that as an empty options map.

`clojure -X` entry point for the scry CLI.

Normalizes EDN options, runs the shared CLI implementation, and returns the
successful outcome. Throws ex-info with structured outcome data when the CLI
run is non-zero so `clojure -X` exits non-zero without calling System/exit.

Returned outcome data includes the test `:summary`, `:result-files`, and
`:scry.cli/outcome-kind` when a run reaches normal classification. If
post-run diagnostic/result-file writing fails, the test-derived outcome is
preserved, `:result-files` is empty, and bounded diagnostic metadata is
attached as top-level `:scry.cli/diagnostic-error`. The diagnostic map has
stable inspectable keys: `:phase`, `:message`, `:type`, `:root-type`,
`:root-message`, and `:failed-entry-count`; when derivable it also includes
`:first-failing-var` and `:first-root-cause`.

`clojure -X` invokes the exec fn with `nil` when no `:exec-args`/key-value
overrides are supplied, so a bare `clojure -X:alias` (alias sets only
`:exec-fn`) arrives here as `nil`; treat that as an empty options map.
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