Function: majutsu-read-jj-command

majutsu-read-jj-command is a natively compiled function defined in majutsu-command.el.

Signature

(majutsu-read-jj-command &optional TOPDIR)

Documentation

Read a jj command for Majutsu runners.

When TOPDIR or current-prefix-arg is non-nil, prompt relative to the workspace root. The leading jj executable name is optional.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-command.el
(defun majutsu-read-jj-command (&optional topdir)
  "Read a jj command for Majutsu runners.
When TOPDIR or `current-prefix-arg' is non-nil, prompt relative to the
workspace root.  The leading `jj' executable name is optional."
  (let ((default-directory (majutsu--shell-command-directory topdir)))
    (read-from-minibuffer (if majutsu-shell-command-verbose-prompt
                              (format "Async jj command in %s: "
                                      (abbreviate-file-name default-directory))
                            "Async jj command: ")
                          nil
                          majutsu-read-jj-command-map
                          nil
                          'majutsu-jj-command-history)))