hledger-iadd-1.2.6: A terminal UI as drop-in replacement for hledger add

Safe HaskellNone
LanguageHaskell2010

Model

Contents

Synopsis

Documentation

undo :: Step -> Either Text Step Source #

Reverses the last step.

Returns (Left errorMessage), if the step can't be reversed

suggest :: Journal -> DateFormat -> Step -> IO (Maybe Text) Source #

Suggest the initial text of the entry box for each step

For example, it suggests today for the date prompt

Helpers exported for easier testing

accountsByFrequency :: Journal -> [AccountName] Source #

All accounts occuring in the journal sorted in descending order of appearance.