Documentation ¶
Overview ¶
Package dryrun provides a way to print commands instead of running them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DryRun bool
DryRun is a flag to indicate whether the program is running in dry-run mode.
Functions ¶
func IsCatToFileWriter ¶
IsCatToFileWriter returns true if the writer is a cat to file writer.
func NewCatToFileWriter ¶
func NewCatToFileWriter(name string) io.WriteCloser
NewCatToFileWriter returns a writer that prints the content to stdout.
func PrintMessage ¶
PrintMessage prints the message to stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.