package main import ( "os" "github.com/arnaucube/gogame/cmd" "github.com/fatih/color" "github.com/urfave/cli" ) func main() { app := cli.NewApp() app.Name = "gogame" app.Version = "0.0.1-alpha" app.Flags = []cli.Flag{ cli.StringFlag{Name: "config"}, } app.Commands = []cli.Command{} app.Commands = append(app.Commands, cmd.ServerCommands...) err := app.Run(os.Args) if err != nil { color.Red(err.Error()) } }