Documentation
¶
Index ¶
Constants ¶
View Source
const (
Bold = Attribute(iota + 1)
Bright
Italic
Underscore
Blink
FastBlink
Reverse
Hidden
Conceal
)
View Source
const (
Black = Color(-1)
Red = Color(iota)
Green
Yellow
Blue
Magenta
Cyan
White
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
IOStreams genericclioptions.IOStreams
Color bool
TTY bool
}
func (Printer) SprintHeader ¶ added in v1.1.1
func (p Printer) SprintHeader(text string) string
Click to show internal directories.
Click to hide internal directories.