1
0
mirror of https://github.com/elyby/chrly.git synced 2025-03-21 19:24:40 +05:30

18 lines
297 B
Go
Raw Permalink 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",
Run: func(cmd *cobra.Command, args []string) {
startServer([]string{"skinsystem", "api"})
},
}
func init() {
RootCmd.AddCommand(serveCmd)
}