chrly/internal/cmd/serve.go

18 lines
301 B
Go
Raw Normal View History

package cmd
import (
"github.com/spf13/cobra"
)
var serveCmd = &cobra.Command{
Use: "serve",
2020-01-03 00:51:57 +03:00
Short: "Starts HTTP handler for the skins system",
2024-02-07 14:29:52 +01:00
RunE: func(cmd *cobra.Command, args []string) error {
return startServer("skinsystem", "api")
},
}
func init() {
RootCmd.AddCommand(serveCmd)
}