loic-go/cmd/web.go
2025-03-25 17:53:35 +01:00

19 lines
358 B
Go

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: "Startet den Web-Server",
Long: "Startet den Web-Server für myapp",
Run: func(cmd *cobra.Command, args []string) {
web.Start()
},
}
func init() {
rootCmd.AddCommand(webCmd)
}