Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletionHandler ¶ added in v0.3.0
type CompletionHandler func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
func GetAllWorkspaceNameCompletionHandler ¶ added in v0.3.0
func GetAllWorkspaceNameCompletionHandler(completionStore CompletionStore, t *terminal.Terminal) CompletionHandler
func GetOrgsNameCompletionHandler ¶ added in v0.4.0
func GetOrgsNameCompletionHandler(completionStore CompletionStore, t *terminal.Terminal) CompletionHandler
type CompletionStore ¶ added in v0.3.0
type CompletionStore interface { GetWorkspaces(organizationID string, options *store.GetWorkspacesOptions) ([]entity.Workspace, error) GetActiveOrganizationOrDefault() (*entity.Organization, error) GetCurrentUser() (*entity.User, error) GetOrganizations(options *store.GetOrganizationsOptions) ([]entity.Organization, error) }
Click to show internal directories.
Click to hide internal directories.