Liking cljdoc? Tell your friends :D

automaton-build.os.cli-opts

Parse cli options.

Proxy to tools.cli

Parse cli options.

Proxy to [tools.cli](https://github.com/clojure/tools.cli)
raw docstring

error-msgclj

(error-msg {:keys [errors] :as _cli-opts})

Returns string reporting a parsing error.

Returns string reporting a parsing error.
raw docstring

errorsclj

(errors {:keys [errors] :as _cli-options})

If errors occur, displays them.

If errors occur, displays them.
raw docstring

help-optionsclj


inverseclj

(inverse cli-opts opts)

Update cli-opts like the options in the list opts

Update `cli-opts` like the options in the list `opts`
raw docstring

inverse-optionsclj


parse-cliclj

(parse-cli cli-options)
(parse-cli args cli-options)

Analyse args with cli-options.. (args is defaulted to actual cli arguments.) Returns a map with [options arguments errors summary] fields.

Analyse `args` with `cli-options.`. (`args` is defaulted to actual cli arguments.)
Returns a map with `[options arguments errors summary]` fields.
raw docstring

(print-usage {:keys [summary]} current-task)

Returns the string for the summary of the task.

Returns the string for the summary of the task.
raw docstring

(print-usage-with-arguments {:keys [summary]}
                            current-task
                            arguments
                            arguments-desc)

Returns the string explaining the usage of the task, with mandatory arguments.

Returns the string explaining the usage of the task, with mandatory arguments.
raw docstring

verbose-optionsclj

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

× close