{"modulePath":"github.com/brevdev/brev-cli","version":"v0.6.337","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package background\n\n## Functions\n\n```go\nfunc NewCmdBackground(t *terminal.Terminal, s BackgroundStore) *cobra.Command\n```\n\n## Types\n\n```go\ntype BackgroundStore interface {\n\tutil.GetWorkspaceByNameOrIDErrStore\n\tGetActiveOrganizationOrDefault() (*entity.Organization, error)\n\tGetCurrentUser() (*entity.User, error)\n\tModifyWorkspace(workspaceID string, options *store.ModifyWorkspaceRequest) (*entity.Workspace, error)\n\tGetWorkspace(workspaceID string) (*entity.Workspace, error)\n\tGetCurrentWorkspaceID() (string, error)\n\tCreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error)\n}\n```\n\n```go\ntype Process struct {\n\tID        int    `json:\"id\"`\n\tCommand   string `json:\"command\"`\n\tLogsDir   string `json:\"logsDir\"`\n\tStartTime string `json:\"startTime\"`\n}\n```\n\n```go\ntype Processes struct {\n\tProcesses []Process `json:\"processes\"`\n}\n```\n\n","path":"github.com/brevdev/brev-cli/pkg/cmd/background","name":"background","synopsis":"","isRedistributable":true}
