all repos — fae @ master

A minuscule find and edit utility.

README.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
[![Nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble.png)](https://nimble.directory/pkg/fae)

[![Release](https://img.shields.io/github/release/h3rald/fae.svg)](https://github.com/h3rald/fae/releases/latest)
[![License](https://img.shields.io/github/license/h3rald/fae.svg)](https://raw.githubusercontent.com/h3rald/fae/master/LICENSE)

# fae 🧚 Find & Edit Utility

<pre><code>
  Usage:
    fae <pattern> <replacement> [option1 option2 ...]

  Where:
    <pattern>           A regular expression to search for.
    <replacement>       An optional replacement string
                        (use \1, \2, etc. to reference captured groups).

  Options:
    -a, --apply         Substitute all occurrences of <pattern> with <replacement> in all files.
                        without asking for confirmation.
    -d, --directory     Search in the specified directory (default: .)
    -f, --filter        Specify a regular expression to filter file paths.
    -h, --help          Display this message.
    -i, --insensitive   Case-insensitive matching.
    -r, --recursive     Search directories recursively.
    -s, --silent        Do not display matches.
    -t, --test          Do not perform substitutions, just print results.
    -v, --version       Display the program version.
</code></pre>