Help us shape the future of Go! Take the 2026 Go Developer Survey

ask

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdASK

func NewCmdASK(ioStreams genericclioptions.IOStreams, cfg *options.Config) *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, cfg *options.Config) *Options

NewOptions returns initialized Options.

func (*Options) Run

func (o *Options) Run() 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