Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer interface { // AddFlags adds --output-format and --output-file flags to a cobra FlagSet AddFlags(flags *pflag.FlagSet) // VerifyFlags verifies flags have correct values VerifyFlags() error // PrintOutput prints output in the user-supplied format PrintOutput(output interface{}, stdout io.Writer) error }
Printer is a tool for printing formatted output from thelma cli commands.
func NewPrinter ¶
func NewPrinter() Printer
Click to show internal directories.
Click to hide internal directories.