cmd

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdColorizeApplied

func NewCmdColorizeApplied(ctx context.Context, streams genericclioptions.IOStreams) *cobra.Command

Types

type ColorizeAppliedOptions

type ColorizeAppliedOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewCmdColorizeAppliedOptions

func NewCmdColorizeAppliedOptions(streams genericclioptions.IOStreams) *ColorizeAppliedOptions

func (*ColorizeAppliedOptions) ColorPrint

func (o *ColorizeAppliedOptions) ColorPrint(line string) (int, error)

func (*ColorizeAppliedOptions) Complete

func (o *ColorizeAppliedOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for processing the command.

func (*ColorizeAppliedOptions) Run

Run runs the command.

func (*ColorizeAppliedOptions) Validate

func (o *ColorizeAppliedOptions) Validate() error

Validate ensures that all required arguments and flag values are provided.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL