Function: projectile--grep-construct-command
projectile--grep-construct-command is a byte-compiled function defined
in projectile.el.
Signature
(projectile--grep-construct-command SEARCH-TERM &optional FILE-EXT)
Documentation
Construct Grep option to search files by the extension FILE-EXT.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--grep-construct-command (search-term &optional file-ext)
"Construct Grep option to search files by the extension FILE-EXT."
(if (stringp file-ext)
(concat (format (alist-get 'grep projectile-files-with-string-commands)
search-term)
" --include '"
file-ext
"'")
(format (alist-get 'grep projectile-files-with-string-commands)
search-term)))