File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,20 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
38
38
// Start message.
39
39
cgapp .ShowMessage (
40
40
"" ,
41
- fmt .Sprintf ("Create a new project via Create Go App CLI v%v..." , registry .CLIVersion ),
41
+ fmt .Sprintf (
42
+ "Create a new project via Create Go App CLI v%v..." ,
43
+ registry .CLIVersion ,
44
+ ),
42
45
true , true ,
43
46
)
44
47
45
48
// Start survey.
46
49
if useCustomTemplate {
47
50
// Custom survey.
48
51
if err := survey .Ask (
49
- registry .CustomCreateQuestions , & customCreateAnswers , survey .WithIcons (surveyIconsConfig ),
52
+ registry .CustomCreateQuestions ,
53
+ & customCreateAnswers ,
54
+ survey .WithIcons (surveyIconsConfig ),
50
55
); err != nil {
51
56
return cgapp .ShowError (err .Error ())
52
57
}
@@ -58,7 +63,9 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
58
63
} else {
59
64
// Default survey.
60
65
if err := survey .Ask (
61
- registry .CreateQuestions , & createAnswers , survey .WithIcons (surveyIconsConfig ),
66
+ registry .CreateQuestions ,
67
+ & createAnswers ,
68
+ survey .WithIcons (surveyIconsConfig ),
62
69
); err != nil {
63
70
return cgapp .ShowError (err .Error ())
64
71
}
You can’t perform that action at this time.
0 commit comments