hledger-0.10: A command-line (or curses or web-based) double-entry accounting tool.Source codeContentsIndex
Hledger.Cli.Utils
Description
Utilities for top-level modules and ghci. See also Hledger.Data.IO and Hledger.Data.Utils.
Synopsis
withJournalDo :: [Opt] -> [String] -> String -> ([Opt] -> [String] -> Journal -> IO ()) -> IO ()
journalFromStringWithOpts :: [Opt] -> String -> IO Journal
openBrowserOn :: String -> IO ExitCode
Documentation
withJournalDo :: [Opt] -> [String] -> String -> ([Opt] -> [String] -> Journal -> IO ()) -> IO ()Source
Parse the user's specified journal file and run a hledger command on it, or report a parse error. This function makes the whole thing go.
journalFromStringWithOpts :: [Opt] -> String -> IO JournalSource
Get a journal from the given string and options, or throw an error.
openBrowserOn :: String -> IO ExitCodeSource
Attempt to open a web browser on the given url, all platforms.
Produced by Haddock version 2.6.1