Function: projectile--lifecycle-prompt
projectile--lifecycle-prompt is a byte-compiled function defined in
projectile.el.
Signature
(projectile--lifecycle-prompt DESCRIPTOR BASE)
Documentation
Return the command prompt for the lifecycle phase DESCRIPTOR.
When BASE is non-nil the command runs somewhere other than the project root, and the prompt says where - there's no other way to tell a subproject build from a whole-project one at the prompt.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--lifecycle-prompt (descriptor base)
"Return the command prompt for the lifecycle phase DESCRIPTOR.
When BASE is non-nil the command runs somewhere other than the project
root, and the prompt says where - there's no other way to tell a
subproject build from a whole-project one at the prompt."
(let ((prompt (plist-get descriptor :prompt)))
(if (null base)
prompt
(format "%s in %s: "
(string-trim-right prompt "[ :]+")
(file-relative-name base (projectile-acquire-root))))))