fixing errors to ensure generate works

This commit is contained in:
2021-08-30 16:59:33 +04:00
parent ce5b7aa1af
commit c3a3a21132
3 changed files with 56 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ var (
// Generate only allowed in dev release
// -- REMOVE ON REGULAR RELEASE --
Generate string
Modulename string
//--------------------------------
)
@@ -200,5 +201,12 @@ var AppConfigFlags = []cli.Flag{
EnvVars: []string{"GENERATE"},
Destination: &Generate,
},
&cli.StringFlag{
Name: "ModuleName",
Aliases: []string{"mod"},
Usage: "New go project module name",
EnvVars: []string{"MODULENAME"},
Destination: &Modulename,
},
//--------------------------------
}