Liking cljdoc? Tell your friends :D
Clojure only.

build-provenance.cli

Shell-side CLI for inspecting build-provenance metadata in JARs and exploded class-dirs. Runs identically under Babashka and the JVM.

Subcommands:

bp inspect [--json] FILE...
  Print provenance from each FILE (.jar or directory).

bp discover [--json] DEPS_EDN
  Resolve DEPS_EDN to a classpath via `clojure -Spath`, then print
  provenance for every instrumented artifact in the resolved set.
  Requires the Clojure CLI on PATH.

Default output is pretty-printed EDN, sorted by :artifact. With --json, the CLI emits a JSON array of the canonical .json shapes (camelCase keys) read directly out of each JAR — no EDN→JSON conversion happens inside the CLI, so the JSON bytes are bit-identical to what is embedded in the JAR. JSON output is not sorted; pipe through jq 'sort_by(.artifact)' if you need stable order.

Shell-side CLI for inspecting build-provenance metadata in JARs and
exploded class-dirs. Runs identically under Babashka and the JVM.

Subcommands:

    bp inspect [--json] FILE...
      Print provenance from each FILE (.jar or directory).

    bp discover [--json] DEPS_EDN
      Resolve DEPS_EDN to a classpath via `clojure -Spath`, then print
      provenance for every instrumented artifact in the resolved set.
      Requires the Clojure CLI on PATH.

Default output is pretty-printed EDN, sorted by :artifact. With --json,
the CLI emits a JSON array of the canonical .json shapes (camelCase
keys) read directly out of each JAR — no EDN→JSON conversion happens
inside the CLI, so the JSON bytes are bit-identical to what is embedded
in the JAR. JSON output is not sorted; pipe through
`jq 'sort_by(.artifact)'` if you need stable order.
raw docstring

-mainclj

(-main & args)

CLI entry point. Wraps dispatch with stderr reporting + System/exit on user errors.

CLI entry point. Wraps `dispatch` with stderr reporting + System/exit on
user errors.
sourceraw docstring

dispatchclj

(dispatch args)

Dispatch args to the appropriate subcommand. Throws ex-info with :cli/exit on user errors; pass-through on programmer errors. Public so tests can drive the CLI without taking the JVM down via System/exit.

Dispatch args to the appropriate subcommand. Throws ex-info with
:cli/exit on user errors; pass-through on programmer errors. Public so
tests can drive the CLI without taking the JVM down via System/exit.
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