Documentation
¶
Overview ¶
Package cmd provides the CLI commands for the workspace tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigManager *config.ConfigManager WorkspaceManager *workspace.Manager OutputPathOnly bool )
Functions ¶
func InitializeConfig ¶
func InitializeConfig() error
InitializeConfig loads configuration and creates the workspace manager.
func SetVersion ¶
func SetVersion(v, c, d string)
SetVersion sets the version information for the CLI.
func WorkspaceCompletionFunc ¶
func WorkspaceCompletionFunc(_ *cobra.Command, _ []string, toComplete string) ([]string, cobra.ShellCompDirective)
WorkspaceCompletionFunc provides shell completion for workspace names.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package branch provides the workspace branch management commands.
|
Package branch provides the workspace branch management commands. |
|
Package config provides the workspace config command and subcommands.
|
Package config provides the workspace config command and subcommands. |
|
Package create provides the workspace create command.
|
Package create provides the workspace create command. |
|
Package delete provides the workspace delete command.
|
Package delete provides the workspace delete command. |
|
Package list provides the workspace list command.
|
Package list provides the workspace list command. |
|
Package switchcmd provides the workspace switch command.
|
Package switchcmd provides the workspace switch command. |
Click to show internal directories.
Click to hide internal directories.