Skip to contents

Uses rg (ripgrep) if available, falls back to base R grep.

Usage

grep_tool(cwd = getwd())

Arguments

cwd

Character. Fixed base directory for relative paths.

Value

An ellmer::tool() object.