all repos — fae @ 9682afb0008d0ef053c89ca17b19e92216631f4f

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://github.com/h3rald/fae)

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

# fae 🧚 Find & Edit Utility

```
  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.
```