all repos — h3rald @ bf5fa1696b33cbdd47a80650b23d0c2364cf1ce1

The sources of https://h3rald.com

contents/fae.nim

 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
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
-----
id: fae
github: fae
home: /fae/
title: "fae"
subtitle: "Find and Edit Utility"
summary: "A tiny utility to find and replace text in files." 
content-type: project
active: true
version: 1.0.0
download: "https://github.com/h3rald/fae/releases/download/"
-----

### Usage


**fae** _pattern_ _replacement_ **[** _option1_ _option2_ ... **]**

Where:
* _pattern_ is a regular expression to search for.
* _replacement_ is an optional replacement stringv use \1, \2, etc. to reference captured groups).

#### Options

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

### Downloads

* [macOS (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_macosx_x64.zip)
* [Linux (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_linux_x64.zip)
* [Windows (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_windows_x64.zip)