API for clojure.tools.deps.interop - Clojure v1.12.0 (stable)


Full namespace name: clojure.tools.deps.interop

Overview

Functions for invoking Java processes and invoking tools via the Clojure CLI.

Public Variables and Functions



invoke-tool

dynamic function
Usage: (invoke-tool {:keys [tool-name tool-alias fn args preserve-envelope], :or {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:
  :preserve-envelope - if true, return the full invocation envelope, default=false

    Added in Clojure version 1.12
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.