rtk-ai/rtk

rg --files is rewritten to rtk grep --files

Open

#2,060 opened on May 23, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clibughelp wantedpriority:medium

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

And it fails

$ rtk grep --files
/usr/bin/grep: option '--files' is ambiguous; possibilities: '--files-with-matches' '--files-without-match'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.

We should either rewrite it to rtk find like I tried to do in #1903 or implement full-fledged rtk grep --files.

Contributor guide