ripsr

Search and replace command line utility based on ripgrep

Usage no npm install needed!

<script type="module">
  import ripsr from 'https://cdn.skypack.dev/ripsr';
</script>

README

ripsr

npm version

A search and replace command line utility based on ripgrep.

Installation

npm install ripsr -g

Dependencies

You need ripgrep to use this.

brew install ripgrep

Usage

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.