Liking cljdoc? Tell your friends :D

puppetlabs.puppetserver.cli.subcommand


jruby-runclj

(jruby-run run-fn args)

Executes a function that invokes the JRuby interpeter with the run function and use the return value from JRuby as the process exit code.

Executes a function that invokes the JRuby interpeter with the `run` function and
use the return value from JRuby as the process exit code.
sourceraw docstring

load-tk-configclj

(load-tk-config cli-data)
source

parse-cli-args!clj

(parse-cli-args! cli-args)

Parses the command-line arguments using puppetlabs.kitchensink.core/cli!. Required arguments: --config <config file or directory>

Parses the command-line arguments using `puppetlabs.kitchensink.core/cli!`.
Required arguments:
   --config <config file or directory>
sourceraw docstring

(print-message-and-exit error-map exit-code)
source

runclj

(run run-fn args)

The main entry for subcommands, this parses the args provided on the command line and prints out a message if there's any missing or incorrect. The given run-fn is then called with the configuration map and the command line arguments specific to the subcommand.

The run-fn must accept a configuration map and argument sequence.

The main entry for subcommands, this parses the `args` provided on the
command line and prints out a message if there's any missing or incorrect.
The given `run-fn` is then called with the configuration map and the command
line arguments specific to the subcommand.

The `run-fn` must accept a configuration map and argument sequence.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close