Function: cider--resolve-prefix-command

cider--resolve-prefix-command is a byte-compiled function defined in cider-jack-in.el.

Signature

(cider--resolve-prefix-command COMMAND)

Documentation

Resolve COMMAND that may be a prefixed invocation like "npx X".

Splits COMMAND on whitespace, resolves the first token via cider--resolve-command, and rejoins it with the remaining tokens.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defun cider--resolve-prefix-command (command)
  "Resolve COMMAND that may be a prefixed invocation like \"npx X\".
Splits COMMAND on whitespace, resolves the first token via
`cider--resolve-command', and rejoins it with the remaining tokens."
  (let ((parts (split-string command)))
    (when-let* ((resolved (cider--resolve-command (car parts))))
      (mapconcat #'identity (cons resolved (cdr parts)) " "))))