Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new Cobra command and a Runner to switch the current workspace, taking in a Factory as a parameter and setting the command's usage, short description, long description, example, arguments, and RunE.
Types ¶
type Runner ¶
type Runner struct { ConfigHolder *framework.ConfigHolder ConfigFileInterface framework.ConfigFileInterface Output output.Interface WorkspaceName string }
Runner is the runner implementation for the `rad workspace switch` command.
Click to show internal directories.
Click to hide internal directories.