Skip to content

Commit 6ee3d8b

Browse files
committed
AgreeCreation processing
1 parent 8e172ad commit 6ee3d8b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cmd/create.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
8080
proxy = createAnswers.Proxy
8181
}
8282

83+
if !createAnswers.AgreeCreation {
84+
cgapp.ShowMessage(
85+
"",
86+
"Oh no! You said \"no\", so I won't create anything. Hope to see you soon!",
87+
true, true,
88+
)
89+
return nil
90+
}
91+
8392
// Start timer.
8493
startTimer := time.Now()
8594

0 commit comments

Comments
 (0)