Documentation ¶
Overview ¶
Package color print colors supported by the current terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdColor ¶
NewCmdColor returns new initialized instance of color sub command.
Types ¶
type ColorOptions ¶
type ColorOptions struct { Type []string Example bool genericclioptions.IOStreams }
ColorOptions is an options struct to support color subcommands.
func NewColorOptions ¶
func NewColorOptions(ioStreams genericclioptions.IOStreams) *ColorOptions
NewColorOptions returns an initialized ColorOptions instance.
func (*ColorOptions) Run ¶
func (o *ColorOptions) Run(args []string) error
Run executes a color subcommand using the specified options.
Click to show internal directories.
Click to hide internal directories.