Liking cljdoc? Tell your friends :D

bract.cli.inducer


execute-command

(execute-command context)
source

merge-commands

(merge-commands context new-commands)

Merge given CLI command map {"command-name" {:doc string :handler inducer}} to the existing one. The inducer is (fn [context]) -> context.

Merge given CLI command map {"command-name" {:doc string :handler inducer}} to the existing one. The inducer is
`(fn [context]) -> context`.
sourceraw docstring

merge-launch-commands

(merge-launch-commands context new-commands)

Merge given CLI command map {"command-name" {:doc string :handler launcher}} to the existing one. The launcher is (fn [context]) -> context meant to replace the entry at key :bract.core/launcher in the context.

Merge given CLI command map {"command-name" {:doc string :handler launcher}} to the existing one. The launcher is
`(fn [context]) -> context` meant to replace the entry at key :bract.core/launcher in the context.
sourceraw docstring

parse-args

(parse-args context)

Given context with key :bract.cli/cli-args, parse CLI args and return (potentially reduced) the context updated with config filename, CLI command and command-arguments.

Given context with key :bract.cli/cli-args, parse CLI args and return (potentially reduced) the context updated
with config filename, CLI command and command-arguments.
sourceraw docstring

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

× close