Documentation ¶
Overview ¶
Package command provides functions to invoke tanzu cli commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTanzuCommand ¶
RunTanzuCommand invokes a Tanzu CLI command
Types ¶
type CmdOptions ¶
type CmdOptions struct {
// contains filtered or unexported fields
}
CmdOptions specifies the command options
type CommandOptions ¶
type CommandOptions func(o *CmdOptions)
func WithErrorWriter ¶
func WithErrorWriter(errWriter io.Writer) CommandOptions
WithErrorWriter specifies the CommandOption for configuring Stderr
func WithOutputWriter ¶
func WithOutputWriter(outWriter io.Writer) CommandOptions
WithOutputWriter specifies the CommandOption for configuring Stdout
Click to show internal directories.
Click to hide internal directories.