hybridgroup.gobot/cli/main.go

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)
}