package cmd import ( "forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/Daniel.Sy/loic-go/pkg/web" "github.com/spf13/cobra" ) var webCmd = &cobra.Command{ Use: "web", Short: "starts the web server", Long: "starts the web UI for LOIC", Run: func(cmd *cobra.Command, args []string) { web.Start() }, } func init() { rootCmd.AddCommand(webCmd) }