package cmd
import (
"github.com/spf13/cobra"
)
const DocsUrl = "https://www.gitpod.io/docs/introduction"
var docsCmd = &cobra.Command{
Use: "docs",
Short: "Open Gitpod Documentation in default browser",
RunE: func(cmd *cobra.Command, args []string) error {
return openPreview("GP_EXTERNAL_BROWSER", DocsUrl)
},
}
func init() {
rootCmd.AddCommand(docsCmd)
}