woodpecker/vendor/github.com/woodpecker-ci/togo/main.go

29 lines
435 B
Go
Raw Normal View History

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)
}
}