Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SetOrgCmd = &cobra.Command{ Use: "set-org <id>", Short: "Set the organization ID", Long: `Set the organization ID for the Hyphen CLI to use.`, Args: cobra.MaximumNArgs(1), PersistentPreRunE: func(cmd *cobra.Command, args []string) error { return user.ErrorIfNotAuthenticated() }, RunE: func(cmd *cobra.Command, args []string) error { organizationID := "" if len(args) > 0 { organizationID = args[0] } return SetOrganization(cmd, organizationID) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.