# Functions

ApplyTemplate runs golang templating on all files in the provided path, replacing them in-place with their templated versions.
CloneRepo makes a shallow clone of the argument repo at a single ref.
CompareJSONObjs compares two objects via their JSON representations.
Confirm gets a yes/no confirmation from the user on the command-line before continuing.
DirExists returns whether the given path exists and is a directory.
FileExists returns whether the given path exists and is a file.
GetContents returns the contents of a directory as a map from file name to string content lines.
GetFileContents gets the string contents of a single file.
LogrusDebugPrinter returns a printer that prints via logrus at the debug level.
LogrusInfoPrinter returns a printer that prints via logrus at the info level.
LogrusWarnPrinter returns a printer that prints via logrus at the warn level.
RecursiveCopy does a recursive copy from the source directory to the destination one.
RemoveDirs removes all directories that contain a file with the specified indicatorName (e.g., ".noexpand").
RunCmdWithPrinters runs a command with output streamed via custom printer functions.
WriteFiles takes a map of paths to file contents and uses this to write out files to the file system.

# Type aliases

Printer is a function that prints out a string, e.g.