mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 14:36:58 +00:00
24 lines
645 B
Go
24 lines
645 B
Go
package app
|
|
|
|
import (
|
|
"github.com/DeBrosOfficial/network/pkg/cli/deployments"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// Cmd is the root command for managing deployed applications (was "deployments").
|
|
var Cmd = &cobra.Command{
|
|
Use: "app",
|
|
Aliases: []string{"apps"},
|
|
Short: "Manage deployed applications",
|
|
Long: `List, get, delete, rollback, and view logs/stats for your deployed applications.`,
|
|
}
|
|
|
|
func init() {
|
|
Cmd.AddCommand(deployments.ListCmd)
|
|
Cmd.AddCommand(deployments.GetCmd)
|
|
Cmd.AddCommand(deployments.DeleteCmd)
|
|
Cmd.AddCommand(deployments.RollbackCmd)
|
|
Cmd.AddCommand(deployments.LogsCmd)
|
|
Cmd.AddCommand(deployments.StatsCmd)
|
|
}
|