kjuulh
46cc160764
updated roadmap updated roadmap Add a basic readme (#15) Co-authored-by: kjuulh <contact@kjuulh.io> Reviewed-on: kjuulh/kraken#15 fix readme Add readme with stuff more roadmap items update formatting formatting 2 more setup with semantic with semantic 2 revert add releaserc with releaser with kraken Update roadmap rename rename feature/move-command (#18) Co-authored-by: kjuulh <contact@kjuulh.io> Reviewed-on: #18 fix/require-two-pushes (#20) Co-authored-by: kjuulh <contact@kjuulh.io> Reviewed-on: #20
20 lines
384 B
Go
20 lines
384 B
Go
package commands
|
|
|
|
import (
|
|
"git.front.kjuulh.io/kjuulh/octopush/internal/server"
|
|
"github.com/spf13/cobra"
|
|
"go.uber.org/zap"
|
|
)
|
|
|
|
func NewStartServerCommand(logger *zap.Logger) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "start",
|
|
Short: "Start the octopush server",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return server.Start(logger)
|
|
},
|
|
}
|
|
|
|
return cmd
|
|
}
|