mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
21 lines
495 B
Haskell
21 lines
495 B
Haskell
import Prelude (IO)
|
|
|
|
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)
|