gotelem/cmd/root.go

23 lines
263 B
Go
Raw Normal View History

2023-04-14 20:42:16 +00:00
package cmd
import (
"log"
"os"
"github.com/urfave/cli/v2"
)
func Execute() {
app := &cli.App{
Name: "gotelem",
Usage: "see everything",
Commands: []*cli.Command{
serveCmd,
},
}
if err := app.Run(os.Args); err != nil {
log.Fatal(err)
}
}