|
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"gitlab.com/wpetit/goweb/cmd/scaffold/command"
|
|
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
func main() {
|
|
app := &cli.App{
|
|
Usage: "generate source code for goweb based projects",
|
|
Commands: command.All(),
|
|
}
|
|
|
|
err := app.Run(os.Args)
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|