23 lines
263 B
Go
23 lines
263 B
Go
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)
|
|
}
|
|
}
|