From 6819eb6ac3d95a7a014bb308dcb01a8a52b88139 Mon Sep 17 00:00:00 2001 From: Joshua Auerbach Date: Mon, 23 May 2022 10:08:39 -0400 Subject: [PATCH] Unhide the sandbox and remove beta indicator (#1161) --- commands/sandbox.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/commands/sandbox.go b/commands/sandbox.go index 8f04bff12..f7bc7c11f 100644 --- a/commands/sandbox.go +++ b/commands/sandbox.go @@ -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(), }, } @@ -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 {