harness-drone/cmd/main.go

24 lines
341 B
Go
Raw Normal View History

2014-07-16 07:34:23 +00:00
package main
import (
"github.com/codegangsta/cli"
"os"
)
func main() {
app := cli.NewApp()
app.Name = "drone"
app.Version = "1.0"
app.Usage = "command line utility"
app.Commands = []cli.Command{
2014-08-08 05:22:04 +00:00
NewBuildCommand(),
2014-07-16 07:34:23 +00:00
NewEnableCommand(),
NewDisableCommand(),
NewRestartCommand(),
NewWhoamiCommand(),
}
app.Run(os.Args)
}