Fix reading basedir from config and cli flag
This commit is contained in:
parent
b2ddac4107
commit
d2eccc98ad
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -125,6 +125,7 @@ func preRun(cmd *cobra.Command, args []string) error {
|
|||
OutFolder: viper.GetString("output"),
|
||||
Schema: viper.GetString("schema"),
|
||||
PkgName: viper.GetString("pkgname"),
|
||||
BaseDir: viper.GetString("basedir"),
|
||||
Debug: viper.GetBool("debug"),
|
||||
NoTests: viper.GetBool("no-tests"),
|
||||
NoHooks: viper.GetBool("no-hooks"),
|
||||
|
|
Loading…
Reference in a new issue