pub fn grep_command(
use_rg: bool,
pattern: &str,
sub: &str,
glob: &str,
) -> StringExpand description
The search command. ripgrep honours .gitignore, which keeps dependency and build trees out of results; the grep fallback (used when a container has no rg) excludes them explicitly, or a search over node_modules returns megabyte-long minified lines.