hybridgroup.gobot/cli/main.go

22 lines
402 B
Go

package main
import (
"os"
"github.com/codegangsta/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)
}