Prompt for template variables values based on the available manifest
This commit is contained in:
@ -1,21 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"gitlab.com/wpetit/scaffold/internal/command"
|
||||
"forge.cadoles.com/wpetit/scaffold/internal/command"
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
app := &cli.App{
|
||||
Usage: "generate source code for goweb based projects",
|
||||
Usage: "generate/update directory tree from template",
|
||||
Commands: command.All(),
|
||||
}
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
log.Fatal(err)
|
||||
fmt.Printf("%+v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user