From 57e6f1882411a6ee26d05d86f62a68d6d82d6cd5 Mon Sep 17 00:00:00 2001 From: John Hamelink Date: Sun, 4 Jun 2023 18:56:24 +0100 Subject: [PATCH] Add transient flags to the just command that renders the recipe list --- justl.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/justl.el b/justl.el index 5c245b4..7fed6bf 100644 --- a/justl.el +++ b/justl.el @@ -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)