ask

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdASK

func NewCmdASK(ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdASK returns a cobra command for ask any question.

Types

type Options

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

Options is a struct to support ask command.

func NewOptions

func NewOptions(ioStreams genericclioptions.IOStreams) *Options

NewOptions returns initialized Options.

func (*Options) Run

func (o *Options) Run(args []string) error

Run executes ask command.

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the provided options.

Jump to

Keyboard shortcuts

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