package
1.4.0-pre-alpha-2
Repository: https://github.com/vmware-tanzu/tanzu-framework.git
Documentation: pkg.go.dev

# Functions

Ask asks a questions and lets the user select an option.
NewObjectWriter gets a new instance of our output writer.
NewOutputWriter gets a new instance of our output writer.
NewOutputWriterWithSpinner returns implementation of OutputWriterSpinner.
Prompt for input.
Select an option.
WithStdio specifies the standard input, output and error.

# Constants

JSONOutputType sepcifies output should be in json format.
TableOutputType specifies output should be in table format.
YAMLOutputType specifies output should be in yaml format.

# Structs

PromptConfig is the configuration for a prompt.
PromptOptions are options for prompting.
QuestionConfig stores config for prompting a CLI question.
SelectConfig is the configuration for a selection.

# Interfaces

OutputWriter is an interface for something that can write output.
OutputWriterSpinner is OutputWriter augmented with a spinner.

# Type aliases

OutputType defines the format of the output desired.
PromptOpt is an option for prompts.