Liking cljdoc? Tell your friends :D

auto-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

enterclj

(enter cli-opts current-task)

Enter task execution. No argument is required

Returns nil if ok or an exit code if an error occured.

Enter task execution. No argument is required

Returns `nil` if ok or an exit code if an error occured.
sourceraw docstring

enter-args-in-a-listclj

(enter-args-in-a-list cli-opts current-task argument-name arg-list)

As enter, but with arguments that should be in arg-list.

argument-name and argument-desc are used to display erros.

Returns nil if ok or an exit code if an error occured.

As enter, but with arguments that should be in  `arg-list`.

`argument-name` and `argument-desc` are used to display erros.

Returns `nil` if ok or an exit code if an error occured.
sourceraw docstring

help-optionsclj

source

parse-argument-listclj

(parse-argument-list parsed-cli-opts arg-list defined-args)
source

parse-cli-argsclj

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

Parse cli-args (defaulted to actual cli arguments.) with cli-options..

Returns a map with [options arguments errors summary] fields.

Parse `cli-args` (defaulted to actual cli arguments.) with `cli-options.`.

Returns a map with `[options arguments errors summary]` fields.
sourceraw docstring

(print-help-message cli-opts current-task-name)
source

str-to-kwclj

(str-to-kw s)

Turn a string starting with : and turn it into an actual keyword. Returns nil otherwise

Turn a string starting with : and turn it into an actual keyword. Returns `nil` otherwise
sourceraw docstring

verbose-optionsclj

source

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

× close