Hledger.Cli.Commands.Activity

hledger-1.41: Command-line interface for the hledger accounting system

Safe Haskell | None
Language | Haskell2010

Hledger.Cli.Commands.Activity

Description

Print a bar chart of posting activity per day, or other report interval.

Synopsis

- activitymode :: Mode RawOpts
- barchar :: Char
- activity :: CliOpts -> Journal -> IO ()
- showHistogram :: ReportSpec -> Journal -> String
- printDayWith :: (PrintfArg t1, PrintfType t2) => (t3 -> t1) -> (DateSpan, t3) -> t2
- countBar :: Foldable t => t a -> [Char]

# Documentation

activitymode :: Mode RawOpts #

barchar :: Char #

activity :: CliOpts -> Journal -> IO () #

Print a bar chart of number of postings per report interval.

showHistogram :: ReportSpec -> Journal -> String #

printDayWith :: (PrintfArg t1, PrintfType t2) => (t3 -> t1) -> (DateSpan, t3) -> t2 #

countBar :: Foldable t => t a -> [Char] #