cmd

package
v0.0.0-...-e5f2c3d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(name string, in io.Reader, out, errout io.Writer) *cobra.Command

Types

type Options

type Options struct {
	CommandName string

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewOption

func NewOption(name string, ioStream genericclioptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(cmd *cobra.Command) error

func (*Options) Run

func (o *Options) Run(cmd *cobra.Command) error

func (*Options) Validate

func (o *Options) Validate(cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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