Liking cljdoc? Tell your friends :D

makejack.api.clojure-cli

Helpers for working with Clojure CLI

Helpers for working with Clojure CLI
raw docstring

aliases-argclj

(aliases-arg option
             aliases
             {:keys [elide-when-no-aliases] :or {elide-when-no-aliases false}})

argsclj

(args {:keys [cp deps force repro threads verbose]})

Return a cli arguments vector given a map of cli options.

Return a cli arguments vector given a map of cli options.
raw docstring

classpathclj

(classpath aliases deps)

Returns the project classpath, with the given extra deps map.

aliases is a vector of keywords with deps.edn aliases to use.

deps ia s map with external dependencies, as specifed on the :deps key of deps.edn.

Returns the project classpath, with the given extra deps map.

aliases is a vector of keywords with deps.edn aliases to use.

deps ia s map with external dependencies, as specifed on the :deps key
of deps.edn.
raw docstring

clojure-basis-formclj

(clojure-basis-form)

exec-argsclj

(exec-args options)
(exec-args {:keys [aliases exec-fn exec-args]} features)

Return a cli arguments vector given an exec function to execute.

Return a cli arguments vector given an exec function to execute.
raw docstring

feature-rangesclj

Version ranges for features, min inclusive, max exclusive.

Version ranges for features, min inclusive, max exclusive.
raw docstring

featuresclj

(features)
(features version)

features*clj

(features*)
(features* version)

main-argsclj

(main-args options)
(main-args {:keys [aliases expr main main-args report]} features)

Return a cli arguments vector given an main function to execute.

Return a cli arguments vector given an main function to execute.
raw docstring

processclj

(process args options)

Execute clojure process.

deps ia s map with external dependencies, as specifed on the :deps key of deps.edn.

args is a vector of arguments to pass.

options is a map of options, as specifed in babashka.process/process. Defaults to {:err :inherit}.

Execute clojure process.

deps ia s map with external dependencies, as specifed on the :deps key
of deps.edn.

args is a vector of arguments to pass.

options is a map of options, as specifed in babashka.process/process.
Defaults to {:err :inherit}.
raw docstring

read-clojure-basisclj

(read-clojure-basis)

versionclj

(version)

Return the clojure cli version string

Return the clojure cli version string
raw docstring

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

× close