woodpecker/vendor/github.com/woodpecker-ci/togo/main.go
6543 194e01c9c6
[CI] Run "build" on pull too (#287)
* CI: run "build" on pull too

* vendor build tools too
2021-08-30 20:48:19 +02:00

29 lines
435 B
Go

package main
import (
"fmt"
"os"
"github.com/urfave/cli"
)
func main() {
app := cli.NewApp()
app.Name = "togo"
app.Usage = "togo provides tools to convert files to go"
app.Version = "1.0.0"
app.Author = "bradrydzewski"
app.Commands = []cli.Command{
ddlCommand,
sqlCommand,
httpCommand,
httptestCommand,
tmplCommand,
i18nCommand,
}
if err := app.Run(os.Args); err != nil {
fmt.Println(err)
os.Exit(1)
}
}