Skip to content

Commit

Permalink
Add transient flags to the just command that renders the recipe list
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhamelink committed Jun 4, 2023
1 parent eddbeb4 commit 57e6f18
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,12 @@ and output of process."

(defun justl--get-recipies-with-desc (justfile)
"Return all the recipies in JUSTFILE with description."
(let* ((recipe-status (justl--exec-to-string-with-exit-code
(format "%s --justfile=%s --list --unsorted"
justl-executable justfile)))
(let* ((t-args (transient-args 'justl-help-popup))
(recipe-status (justl--exec-to-string-with-exit-code
(format "%s %s --justfile=%s --list --unsorted"
justl-executable
(string-join t-args " ")
justfile)))
(justl-status (nth 0 recipe-status))
(recipe-lines (split-string
(nth 1 recipe-status)
Expand Down

0 comments on commit 57e6f18

Please sign in to comment.