1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
Joshua Shields f73774b7e2 689 update codegangsta to urfave (#690)
* Issue 689: rename codegangsta/cli to urfave/cli
2019-10-08 08:12:11 +02:00

22 lines
397 B
Go

package main
import (
"os"
"github.com/urfave/cli"
"gobot.io/x/gobot"
)
func main() {
app := cli.NewApp()
app.Name = "gobot"
app.Author = "The Gobot team"
app.Email = "https://gobot.io/x/gobot"
app.Version = gobot.Version()
app.Usage = "Command Line Utility for generating new Gobot adaptors, drivers, and platforms"
app.Commands = []cli.Command{
Generate(),
}
app.Run(os.Args)
}