| ▲ | sdesol 3 hours ago | |
My CLI does something close to this: https://github.com/gitsense/gsc-cli `gsc grep` is just an alias for `gsc rg`, mostly because agents are much more likely to reach for “grep” than “rg”. It works pretty well, but it is not a perfect drop-in replacement. `grep` and `ripgrep` differ in a few details, especially around glob/wildcard behaviour and flags. What I found works is to not use `grep` in search examples, and have the CLI spit out an error message for the AI saying this is `ripgrep`, so it needs to use `ripgrep` syntax. | ||