You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
schnutibox/cmd/web.go

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)
},
}