buchhaltung-0.0.5: Automates most of your plain text accounting data entry in ledger format.

Safe HaskellNone
LanguageHaskell2010

Buchhaltung.Commandline

Contents

Synopsis

Documentation

Running Option Parsers and Actions

runLedger :: MonadIO m => (FilePath -> t -> IO a) -> t -> Options User Config env -> m a Source #

runLedger' :: MonadIO m => (t -> t1 -> IO a) -> (config -> t) -> (Ledgers -> FilePath) -> t1 -> Options User config env -> m a Source #

withJournals :: (MonadError Msg m, MonadIO m) => [Ledgers -> FilePath] -> Options User config env -> (Journal -> m b) -> m b Source #

performs an action taking a journal as argument. this journal is read from imported and addedByThisUser ledger files withJournals :: [Ledgers -> FilePath] -> FullOptions () -> (Journal -> ErrorT IO b) -> ErrorT IO b