schnutibox/cmd/web.go
Marvin Steadfast 35fe4a04df
Some checks failed
continuous-integration/drone/push Build is failing
implemented a rough sse logger
2021-05-03 14:51:53 +02:00

17 lines
281 B
Go

// nolint:gochecknoglobals
package cmd
import (
"github.com/spf13/cobra"
"go.xsfx.dev/schnutibox/pkg/web"
)
var webCmd = &cobra.Command{
Use: "web",
Short: "Starting webservice",
Run: web.Run,
PreRun: func(cmd *cobra.Command, args []string) {
initConfig(false)
},
}