on master help sign in
Add prompts to successful ob init logs
commit2fafd692652ae2eb35cf0e1b171ea6455591c447 authorTom Smalley <tfsmalley@gmail.com> dateFri 10 Jul 2020, 14:22 (6 years ago) parent989641f
1 file changed+6
lib/command/src/Obelisk/Command/Project.hs+6
lib/command/src/Obelisk/Command/Project.hs+6
@@ -137,6 +137,12 @@ initProject source force = withSystemTempDirectory "ob-init" $ \tmpDir -> do
137137 let configDir = "config"
138138 createDirectoryIfMissing False configDir
139139 mapM_ (createDirectoryIfMissing False . (configDir </>)) ["backend", "common", "frontend"]
140+ putLog Notice $ T.intercalate "\n"
141+ [ "An obelisk project has been successfully initialized. Next steps:"
142+ , " 'ob run': Start a development server"
143+ , " 'ob watch': Watch for changes without starting a server"
144+ , " 'ob repl': Load your project into GHCi"
145+ ]
140146
141147callHandoffOb
142148 :: MonadObelisk m