Documentation
¶
Overview ¶
Package output contains helper utility to build and format the output
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStrings ¶
func FormatStrings() string
FormatStrings returns a string representing all output formats. this is useful for help text / flag info
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is used to prepare the output. It internally create a Formatter and use it to print the 'object' to different formats and colors (based on the flags)
func NewBuilder ¶
NewBuilder returns a new output.Builder with desired format and colored output
Click to show internal directories.
Click to hide internal directories.