Skip to content

Commit 750da58

Browse files
committed
Finalization
1 parent bec52ae commit 750da58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmd/init.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ func askRoutesConfig(w *cliWizard, config *definitions.GleeceConfig) {
7474
config.RoutesConfig.OutputFilePerms = w.askFilePerms("Output file permissions", "0644")
7575
config.RoutesConfig.ValidateResponsePayload = w.askBool("Validate response payload?", false)
7676
config.RoutesConfig.SkipGenerateDateComment = w.askBool("Skip generation date comment?", true)
77+
fmt.Println()
7778
}
7879

7980
// askAuthConfig prompts the user for authentication-related settings.
@@ -128,6 +129,7 @@ func askSecSchemas(w *cliWizard, config *definitions.GleeceConfig) {
128129
if w.askBool("Add a security scheme?", false) {
129130
config.OpenAPIGeneratorConfig.SecuritySchemes = w.askSecuritySchemes()
130131
}
132+
fmt.Println()
131133
}
132134

133135
// askExperimentalConfigs prompts the user for experimental feature toggles.
@@ -172,6 +174,7 @@ func askAboutCodeGeneration(w *cliWizard, config *definitions.GleeceConfig) {
172174
}
173175

174176
saveFileWithOverwriteConfirmation(w, finalOutputPath, []byte(configStr))
177+
fmt.Println()
175178
}
176179

177180
// generateAuthMiddleware creates an authentication middleware file for the configured routing engine
@@ -275,6 +278,7 @@ func saveConfig(w *cliWizard, config definitions.GleeceConfig) {
275278
}
276279

277280
saveFileWithOverwriteConfirmation(w, "gleece.config.json", configBytes)
281+
fmt.Println()
278282
}
279283

280284
// saveFileWithOverwriteConfirmation attempts to save the given file, prompting the user

0 commit comments

Comments
 (0)