A set of aliases for Cake to help with simple file operations such as Reading, Writing and Replacing text.
#addin nuget:?package=Cake.FileHelpers&version=7.0.0
dotnet add package Cake.FileHelpers --version 7.0.0
<PackageReference Include="Cake.FileHelpers" Version="7.0.0" />
Aliases
File helper aliases.
A set of aliases for Cake Build to help with simple File operations such as Reading, Writing and Replacing text.
General
FileAppendLines |
Appends all text lines to a file |
FileAppendLines |
Appends all text lines to a file |
FileAppendText |
Appends all text to a file |
FileAppendText |
Appends all text to a file |
FileReadLines |
Reads all lines from a file |
FileReadLines |
Reads all lines from a file |
FileReadText |
Reads all text from a file |
FileReadText |
Reads all text from a file |
FileTouch |
Sets the last write time of a file to the current time |
FileWriteLines |
Writes all text lines to a file |
FileWriteLines |
Writes all text lines to a file |
FileWriteText |
Writes all text to a file |
FileWriteText |
Writes all text to a file |
FindRegexInFiles |
Finds files with regular expression pattern in files matching the given globber pattern. |
FindRegexInFiles |
Finds files with regular expression pattern in files matching the given globber pattern. |
FindRegexInFiles |
Finds files with regular expression pattern in files matching the given globber pattern. |
FindRegexInFiles |
Finds files with regular expression pattern in files matching the given globber pattern. |
Find |
Finds regex matches in a file and returns all match groups. |
Find |
Finds regex matches in a file and returns all match groups. |
Find |
Finds the regex matches in a text file. |
Find |
Finds the regex matches in a text file. |
Find |
Finds the first regex match in a file and returns a specific match group. |
Find |
Finds the first regex match in a file and returns a specific match group. |
Find |
Finds the first regex match in a file and returns all match groups. |
Find |
Finds the first regex match in a file and returns all match groups. |
FindRegexMatchInFile |
Finds the first regex match in a textfile. |
FindRegexMatchInFile |
Finds the first regex match in a textfile. |
FindTextInFiles |
Finds files with the given text in files matching the given collection of files. |
FindTextInFiles |
Finds files with the given text in files matching the given collection of files. |
FindTextInFiles |
Finds files with the given text in files matching the given globber pattern. |
FindTextInFiles |
Finds files with the given text in files matching the given globber pattern. |
ReplaceRegexInFiles |
Replaces the regex pattern in files matched by the given globber pattern. |
ReplaceRegexInFiles |
Replaces the regex pattern in files matched by the given globber pattern. |
ReplaceRegexInFiles |
Replaces the regex pattern in files matched by the given globber pattern. |
ReplaceRegexInFiles |
Replaces the regex pattern in files matched by the given globber pattern. |
ReplaceTextInFiles |
Replaces the text in files matched by the given globber pattern |
ReplaceTextInFiles |
Replaces the text in files matched by the given globber pattern |