{"modulePath":"github.com/brevdev/brev-cli","version":"v0.6.337","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package refresh\n\nPackage refresh lists workspaces in the current org\n\n## Functions\n\n```go\nfunc GetCloudflare(refreshStore RefreshStore) store.Cloudflared\n```\n\n```go\nfunc GetConfigUpdater(store RefreshStore) (*ssh.ConfigUpdater, error)\n```\n\n```go\nfunc NewCmdRefresh(t *terminal.Terminal, store RefreshStore) *cobra.Command\n```\n\n```go\nfunc RunRefresh(store RefreshStore) error\n```\n\n## Types\n\n```go\ntype RefreshRes struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc RunRefreshAsync(rstore RefreshStore) *RefreshRes\n```\n\n```go\nfunc (r *RefreshRes) Await() error\n```\n\n```go\ntype RefreshStore interface {\n\tssh.ConfigUpdaterStore\n\tssh.SSHConfigurerV2Store\n\tGetCurrentUser() (*entity.User, error)\n\tGetCurrentUserKeys() (*entity.UserKeys, error)\n\tGetActiveOrganizationOrDefault() (*entity.Organization, error)\n\tGetContextWorkspacesFor(orgID string, userID string) ([]entity.Workspace, error)\n\tGetAccessToken() (string, error)\n\tChmod(string, fs.FileMode) error\n\tMkdirAll(string, fs.FileMode) error\n\tGetBrevCloudflaredBinaryPath() (string, error)\n\tCreate(string) (io.WriteCloser, error)\n\tDevPlane() *store.DevPlaneClient\n}\n```\n\n","path":"github.com/brevdev/brev-cli/pkg/cmd/refresh","name":"refresh","synopsis":"Package refresh lists workspaces in the current org","isRedistributable":true}
