octopush/cmd/server/commands/root.go
2022-09-10 00:09:09 +02:00

17 lines
246 B
Go

package commands
import (
"github.com/spf13/cobra"
"go.uber.org/zap"
)
func CreateServerCmd(logger *zap.Logger) *cobra.Command {
cmd := &cobra.Command{
Use: "krakenserver",
}
cmd.AddCommand(NewStartServerCommand(logger))
return cmd
}