octopush/cmd/server/commands/root.go
2022-09-21 11:06:53 +02:00

17 lines
248 B
Go

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