hledger
Safe HaskellNone
LanguageGHC2021

Hledger.Cli.Commands.Activity

Description

Show a bar chart of transaction counts per week, or other report interval. With --postings, show posting counts by account instead; this is a shortcut for balance --count --chart -W.

Synopsis

Documentation

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

Show a bar chart of the number of transactions per report interval (weekly by default), as a single total (like depth 0), since a transaction's postings may be in several accounts. Or with --postings, the number of postings, by account. This runs the balance command with --count (or its transaction-counting equivalent) and --chart. If both --txns and --postings are given, the last one wins.