allow running a service on a specified machine

This commit is contained in:
Pavel Sviderski
2024-11-10 19:38:19 +10:00
parent 1316dd3ffc
commit 5c74b09f45
4 changed files with 47 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
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(
NewRunCommand(),
)
return cmd
}