Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
func NewCmdCreate(t *terminal.Terminal, createStore CreateStore) *cobra.Command
Types ¶
type CreateOptions ¶
type CreateStore ¶
type CreateStore interface { util.GetWorkspaceByNameOrIDErrStore GetActiveOrganizationOrDefault() (*entity.Organization, error) GetCurrentUser() (*entity.User, error) GetWorkspace(workspaceID string) (*entity.Workspace, error) CreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error) }
Click to show internal directories.
Click to hide internal directories.