Function: projectile-package-command

projectile-package-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-package-command COMPILE-DIR)

Documentation

Retrieve the package command for COMPILE-DIR.

Checks projectile-package-cmd-map for the last package command that was invoked on the project, then projectile-project-package-cmd supplied via .dir-locals.el and finally the default package command for a project of that type.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-package-command (compile-dir)
  "Retrieve the package command for COMPILE-DIR.
Checks `projectile-package-cmd-map' for the last package command that
was invoked on the project, then `projectile-project-package-cmd'
supplied via .dir-locals.el and finally the default package command
for a project of that type."
  (projectile--phase-command 'package compile-dir))