Function: projectile-dashboard--render-commands

projectile-dashboard--render-commands is a byte-compiled function defined in projectile.el.

Signature

(projectile-dashboard--render-commands DATA)

Documentation

Render DATA's configured lifecycle commands.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dashboard--render-commands (data)
  "Render DATA's configured lifecycle commands."
  (let ((root (plist-get data :root))
        (commands (plist-get data :commands)))
    (projectile-dashboard--section "Lifecycle commands")
    (if (null commands)
        (insert "No lifecycle commands configured for this project type.\n")
      (dolist (entry commands)
        (projectile-dashboard--entry
         (symbol-name (car entry)) 'projectile-dashboard-command root
         'projectile-command (projectile-dashboard--phase-command (car entry)))
        (insert (or (cdr entry) "computed at run time") "\n")))))