Skip to content

Commit

Permalink
Unhide the sandbox and remove beta indicator (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaauerbachwatson committed May 23, 2022
1 parent 3ace2b2 commit 6819eb6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions commands/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,11 @@ func Sandbox() *Command {
cmd := &Command{
Command: &cobra.Command{
Use: "sandbox",
Short: "[Beta] Develop functions in a sandbox prior to deploying them in an app",
Short: "Develop functions in a sandbox prior to deploying them in an app",
Long: `The ` + "`" + `doctl sandbox` + "`" + ` commands provide a development sandbox for functions. A sandbox has a local file system component and a cloud component.
A one-time install of the sandbox software is needed (use ` + "`" + `doctl sandbox install` + "`" + ` to install the software, then ` + "`" + `doctl sandbox connect` + "`" + ` to
connect to the cloud component of the sandbox provided with your account). Other ` + "`" + `doctl sandbox` + "`" + ` commands are used to develop and test.`,
Aliases: []string{"sbx", "serverless", "sls"},
Hidden: !isSandboxInstalled(),
},
}

Expand Down Expand Up @@ -625,12 +624,6 @@ func getCurrentSandboxVersion(sandboxDir string) string {
return string(contents)
}

// Answers whether sandbox is installed
func isSandboxInstalled() bool {
_, yes := getSandboxDirectory()
return yes
}

// Gets the version of the node binary in the sandbox. Determine if it is
// usable or whether it has to be upgraded.
func canReuseNode(sandboxDir string, nodeBin string) bool {
Expand Down

0 comments on commit 6819eb6

Please sign in to comment.