Functions for invoking Java processes and invoking tools via the Clojure CLI.
Functions for invoking Java processes and invoking tools via the Clojure CLI.
(invoke-tool {:keys [tool-name tool-alias fn args command preserve-envelope]
:or {command "clojure" preserve-envelope false}
:as opts})
Invoke tool using Clojure CLI. Args (one of :tool-alias or :tool-name, and :fn are required): :tool-alias - Tool alias to invoke (keyword) :tool-name - Name of installed tool to invoke (string or symbol) :fn - Function (symbol) :args - map of args to pass to function
Options: :command - CLI command, default="clojure" :preserve-envelope - if true, return the full invocation envelope, default=false
Invoke tool using Clojure CLI. Args (one of :tool-alias or :tool-name, and :fn are required): :tool-alias - Tool alias to invoke (keyword) :tool-name - Name of installed tool to invoke (string or symbol) :fn - Function (symbol) :args - map of args to pass to function Options: :command - CLI command, default="clojure" :preserve-envelope - if true, return the full invocation envelope, default=false
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close