acheronfail / repgrep

An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.
Apache License 2.0
257 stars 4 forks source link

Use `libripgrep` when it's available rather than the `--json` API #2

Closed acheronfail closed 4 years ago

acheronfail commented 4 years ago

After some research into ripgrep's issue tracker, I'm led to think that using the JSON API is the right way to go for now, rather than using the libripgrep when it's ready.

If, in the future, this tool migrates away from ripgrep and still performs the same function, then using libripgrep might be a good idea, but for now this is just a wrapper for ripgrep.

See: https://github.com/BurntSushi/ripgrep/discussions/1592