Search and replace command line utility based on ripgrep
A search and replace command line utility based on ripgrep.
npm install ripsr -g
Upon entering the rsr
command you will be prompted for a search term and a replace term. Add the --verbose
flag to view file paths that matched the search query.
Alternatively, you can give rsr
command the search and replace arguments as strings. For example:
rsr 'SearchTerm' 'ReplaceTerm'
With this usage, there will be no confirmation prompts and the search and replace will be executed immediately.