gobot.io/x/gobot@v1.16.0/cli/main.go (about) 1 package main 2 3 import ( 4 "os" 5 6 "github.com/urfave/cli" 7 "gobot.io/x/gobot" 8 ) 9 10 func main() { 11 app := cli.NewApp() 12 app.Name = "gobot" 13 app.Author = "The Gobot team" 14 app.Email = "https://gobot.io/x/gobot" 15 app.Version = gobot.Version() 16 app.Usage = "Command Line Utility for generating new Gobot adaptors, drivers, and platforms" 17 app.Commands = []cli.Command{ 18 Generate(), 19 } 20 app.Run(os.Args) 21 }