Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SetCmd = &cobra.Command{ Use: "set", Short: "Set your default organization and project", ValidArgs: []string{ organizationSetCmd.Use, projectSetCmd.Use, }, ArgAliases: append( organizationSetCmd.Aliases, projectSetCmd.Aliases..., ), Args: cobra.ExactValidArgs(1), PersistentPreRun: func(cmd *cobra.Command, args []string) { cli.HandleErrorAndExit(func() error { if !auth.IsLoggedIn() { return &cli.NotLoggedInError{} } return nil }()) }, }
SetCmd is the base command for all resource set commands set is the same as 'select prompt' but without the prompt list.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.