Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCmd ¶
func ExecuteCmd(ctx context.Context, rootCmd *cobra.Command, line string, in io.Reader, stdout io.Writer, stderr io.Writer) error
ExecuteCmd executes a command and captures the output
func InitRootCmd ¶
InitRootCmd sets up the root command for the shell and calls some of the same functions that would run behind the scenes for `rootCmd.Execute()`.
These are needed to do stuff like add the internal autocomplete command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.