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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DVoituron.FindAndReplace --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

This package has no dependencies.

Version Downloads Last updated
1.2.0 683 8/24/2018
1.1.0 542 7/10/2018