(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.
(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>
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |