mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 17:44:21 +03:00
Cleaned up output on success from 'wasp new'.
This commit is contained in:
parent
819f11b7b3
commit
e1aa7723b5
@ -36,15 +36,12 @@ createNewProject projectName = do
|
||||
writeFileSP (extCodeDir </> mainPageJsFileInExtCodeDir) mainPageJsFileContent
|
||||
|
||||
liftIO $ do
|
||||
putStrLn $ Term.applyStyles [Term.Green] $ "Created new Wasp project in ./" ++ projectName ++ " directory!"
|
||||
putStrLn $ "Move into created directory and type '"
|
||||
++ (Term.applyStyles [Term.Bold] "wasp start")
|
||||
++ "' to run the app."
|
||||
putStrLn $ Term.applyStyles [Term.Green] ("Created new Wasp app in ./" ++ projectName ++ " directory!")
|
||||
putStrLn "To run it, do:"
|
||||
putStrLn ""
|
||||
putStrLn $ Term.applyStyles [Term.Bold] (" cd " ++ projectName)
|
||||
putStrLn $ Term.applyStyles [Term.Bold] " wasp start"
|
||||
putStrLn ""
|
||||
putStrLn "Check the docs for any further information: https://wasp-lang.dev/docs."
|
||||
putStrLn $ "If you are new to Wasp, we recommend starting with Todo App tutorial:"
|
||||
++ " https://wasp-lang.dev/docs/tutorials/todo-app."
|
||||
|
||||
where
|
||||
mainWaspFileInWaspProjectDir :: Path (Rel Common.WaspProjectDir) File
|
||||
mainWaspFileInWaspProjectDir = SP.fromPathRelFile [P.relfile|main.wasp|]
|
||||
|
Loading…
Reference in New Issue
Block a user