on master help sign in
Put a message when you say yes to `elm init`
0485916Evan Czaplicki
ui/terminal/src/Init.hs+5−2
@@ -39,8 +39,11 @@ run () flags =
39 Task.run reporter $
39 Task.run reporter $
40 do approved <- Task.getApproval question
40 do approved <- Task.getApproval question
41 if approved
41 if approved
42+ then
42− then init flags
43+ do init flags
44+ liftIO $ putStrLn "Okay, I created them!"
45+ else
43− else liftIO $ putStrLn "Okay, I left everything the same!"
46+ liftIO $ putStrLn "Okay, I left everything the same!"
44
47
45
48
46question :: D.Doc
49question :: D.Doc