hybridgroup.gobot/cli/main.go

22 lines
426 B
Go

package main
import (
"os"
"github.com/codegangsta/cli"
"github.com/hybridgroup/gobot"
)
func main() {
app := cli.NewApp()
app.Name = "gobot"
app.Author = "The Gobot team"
app.Email = "https://github.com/hybridgroup/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)
}