tutor/app/Main.hs

11 lines
179 B
Haskell
Raw Normal View History

2022-03-23 02:59:25 +00:00
module Main where
import Lib
2022-03-26 20:20:28 +00:00
import Data.Maybe
import System.Environment
2022-03-23 02:59:25 +00:00
main :: IO ()
2022-03-26 20:20:28 +00:00
main = do
dbFile <- lookupEnv "TUTOR_DATABASE"
startApp (fromMaybe "tutor.db" dbFile)