(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`.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close