trunkless/cmd/serve.go
2024-04-21 21:46:16 -07:00

18 lines
262 B
Go

package cmd
import (
"github.com/spf13/cobra"
"github.com/vilmibm/trunkless/web"
)
func init() {
rootCmd.AddCommand(serveCmd)
}
var serveCmd = &cobra.Command{
Use: "serve",
RunE: func(cmd *cobra.Command, args []string) error {
return web.Serve()
},
}