Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WorkspaceCmd = &cobra.Command{ Use: "workspace", Aliases: []string{"ws"}, Short: "View, list, and switch workspaces", Long: "View the current workspace, list available workspaces, and switch between them.", Run: func(cmd *cobra.Command, args []string) { cfg, err := config.LoadConfig() if err != nil { utils.CliErrorWithExit("Not logged in. Run 'alpacon login' first.") } utils.CliInfo("Current workspace: %s (%s)", cfg.WorkspaceName, cfg.WorkspaceURL) if cfg.IsMultiWorkspaceMode() { utils.CliInfo("Base domain: %s", cfg.BaseDomain) utils.CliInfo("Run 'alpacon workspace ls' to list all workspaces") utils.CliInfo("Run 'alpacon workspace switch <name>' to switch workspaces") } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
- workspace.go
- workspace_access_control.go
- workspace_access_control_update.go
- workspace_authentication.go
- workspace_authentication_update.go
- workspace_list.go
- workspace_mfa_methods.go
- workspace_notifications.go
- workspace_notifications_update.go
- workspace_preferences.go
- workspace_preferences_update.go
- workspace_switch.go
- workspace_usage.go
Click to show internal directories.
Click to hide internal directories.