all repos — h3rald @ 52773362851fc39b960f8200fb016c21fea426f8

The sources of https://h3rald.com

Added fae project.
h3rald h3rald@h3rald.com
Sun, 08 Nov 2020 20:18:25 +0100
commit

52773362851fc39b960f8200fb016c21fea426f8

parent

7e1b15778cb8b7813019634547522aecc1dc03b1

1 files changed, 39 insertions(+), 0 deletions(-)

jump to
A contents/fae.nim

@@ -0,0 +1,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)