File Helpers aliases

Cake.FileHelpers addin

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(ICakeContext, FilePath, string[])
Alias from Cake.FileHelpers addin
Appends all text lines to a file
FileAppendText(ICakeContext, FilePath, string)
Alias from Cake.FileHelpers addin
Appends all text to a file
FileReadLines(ICakeContext, FilePath)
Alias from Cake.FileHelpers addin
Reads all lines from a file
FileReadText(ICakeContext, FilePath)
Alias from Cake.FileHelpers addin
Reads all text from a file
FileTouch(ICakeContext, FilePath)
Alias from Cake.FileHelpers addin
Sets the last write time of a file to the current time
FileWriteLines(ICakeContext, FilePath, string[])
Alias from Cake.FileHelpers addin
Writes all text lines to a file
FileWriteText(ICakeContext, FilePath, string)
Alias from Cake.FileHelpers addin
Writes all text to a file
FindRegexInFiles(ICakeContext, string, string)
Alias from Cake.FileHelpers addin
Finds files with regular expression pattern in files matching the given globber pattern.
FindRegexInFiles(ICakeContext, string, string, RegexOptions)
Alias from Cake.FileHelpers addin
Finds files with regular expression pattern in files matching the given globber pattern.
FindRegexMatchesGroupsInFile(ICakeContext, FilePath, string, RegexOptions)
Alias from Cake.FileHelpers addin
Finds regex matches in a file and returns all match groups.
FindRegexMatchesInFile(ICakeContext, FilePath, string, RegexOptions)
Alias from Cake.FileHelpers addin
Finds the regex matches in a text file.
FindRegexMatchGroupInFile(ICakeContext, FilePath, string, int, RegexOptions)
Alias from Cake.FileHelpers addin
Finds the first regex match in a file and returns a specific match group.
FindRegexMatchGroupsInFile(ICakeContext, FilePath, string, RegexOptions)
Alias from Cake.FileHelpers addin
Finds the first regex match in a file and returns all match groups.
FindRegexMatchInFile(ICakeContext, FilePath, string, RegexOptions)
Alias from Cake.FileHelpers addin
Finds the first regex match in a textfile.
FindTextInFiles(ICakeContext, IEnumerable<FilePath>, string)
Alias from Cake.FileHelpers addin
Finds files with the given text in files matching the given collection of files.
FindTextInFiles(ICakeContext, string, string)
Alias from Cake.FileHelpers addin
Finds files with the given text in files matching the given globber pattern.
ReplaceRegexInFiles(ICakeContext, string, string, string)
Alias from Cake.FileHelpers addin
Replaces the regex pattern in files matched by the given globber pattern.
ReplaceRegexInFiles(ICakeContext, string, string, string, RegexOptions)
Alias from Cake.FileHelpers addin
Replaces the regex pattern in files matched by the given globber pattern.
ReplaceTextInFiles(ICakeContext, string, string, string)
Alias from Cake.FileHelpers addin
Replaces the text in files matched by the given globber pattern