octopush/cmd/server/commands/start.go

22 lines
338 B
Go
Raw Normal View History

2022-09-10 00:09:09 +02:00
package commands
import (
"errors"
"github.com/spf13/cobra"
"go.uber.org/zap"
)
2022-09-10 12:46:02 +02:00
func NewStartServerCommand(_ *zap.Logger) *cobra.Command {
2022-09-10 00:09:09 +02:00
cmd := &cobra.Command{
Use: "start",
Short: "Start the kraken server",
RunE: func(cmd *cobra.Command, args []string) error {
return errors.New("some error")
},
}
return cmd
}