octopush/cmd/server/commands/root.go

17 lines
246 B
Go
Raw Permalink Normal View History

2022-09-10 00:09:09 +02:00
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
}