Files
uncloud/cmd/uncloud/service/root.go
T

19 lines
283 B
Go

package service
import (
"github.com/spf13/cobra"
)
func NewRootCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "service",
Short: "Manage services in an Uncloud cluster.",
}
cmd.AddCommand(
NewListCommand(),
NewRmCommand(),
NewRunCommand(),
)
return cmd
}