DVoituron.FindAndReplace 1.2.0

dotnet tool install --global DVoituron.FindAndReplace --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local DVoituron.FindAndReplace --version 1.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DVoituron.FindAndReplace&version=1.2.0
nuke :add-package DVoituron.FindAndReplace --version 1.2.0

Simple command line tool to find and replace regular expression, in multiple texts (json, xml, config files).

Usage: FindAndReplace [options] 

 Options:
   --Find      | -f    Required. Text to search. 
                       If Mode is undefined: regular expression syntax, with case insensitive.
                       If Mode=Json: Find is the JSON key and Replace is the value to set.
   --Replace   | -r    Text to replace.
   --Base      | -b    Base directory to start file searchs. Default is current folder.
   --Pattern   | -p    List of files to include in the search. Default is *.*.
                       Using the Minimatch syntax (**/*.config search in all sub-folders).
   --Demo      | -d    Run the tool in Preview mode (without update files).
   --Mode      | -m    Execution mode of the tool.
                       By default, undefined.
                       JSon, find the key to replace by his value.

Examples:
  FindAndReplace --find="Version" --replace="1.0.2" --pattern=**/*.json --mode=json
  FindAndReplace --find="([A-Z])\w+" --replace="XXX" --pattern=**/*.txt
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.0 1,675 8/24/2018
1.1.0 931 7/10/2018