orama/pkg/cli/cmd/deploy/deploy.go

22 lines
612 B
Go

package deploy
import (
"github.com/DeBrosOfficial/network/pkg/cli/deployments"
"github.com/spf13/cobra"
)
// Cmd is the top-level deploy command (upsert: create or update).
var Cmd = &cobra.Command{
Use: "deploy",
Short: "Deploy applications to the Orama network",
Long: `Deploy static sites, Next.js apps, Go backends, and Node.js backends.
If a deployment with the same name exists, it will be updated.`,
}
func init() {
Cmd.AddCommand(deployments.DeployStaticCmd)
Cmd.AddCommand(deployments.DeployNextJSCmd)
Cmd.AddCommand(deployments.DeployGoCmd)
Cmd.AddCommand(deployments.DeployNodeJSCmd)
}