mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
19 lines
461 B
Haskell
19 lines
461 B
Haskell
import Hledger.Web.Main
|
|
|
|
main :: IO ()
|
|
main = hledgerWebMain
|
|
|
|
-- more standard yesod main, for reloading experiments
|
|
|
|
-- import Yesod.Default.Config (fromArgs)
|
|
-- import Yesod.Default.Main (defaultMain)
|
|
-- import Settings (parseExtra)
|
|
-- import Application (makeApplication)
|
|
|
|
-- import Hledger
|
|
-- import Hledger.Web (defwebopts)
|
|
|
|
-- main = do
|
|
-- j <- defaultJournal
|
|
-- defaultMain (fromArgs parseExtra) (makeApplication defwebopts j)
|