Scroll to navigation

BEAN-FORMAT(1) User Commands BEAN-FORMAT(1)

NAME

bean-format - pretty print and align a Beancount ledger

DESCRIPTION

usage: bean-format [-h] [--version] [-o OUTPUT] [-w PREFIX_WIDTH]

[-W NUM_WIDTH] [-c CURRENCY_COLUMN] [filename]

Align a beancount/ledger input file's numbers. This reformats at beancount or ledger input file so that the amounts in the postings are all aligned to the same column. The currency should match. Note: this does not parse the Beancount ledger. It simply uses regular expressions and text manipulations to do its work.

positional arguments:

Beancount filename

optional arguments:

show this help message and exit
show program's version number and exit
Output file (stdout if not specified)
Use this prefix width instead of determining an optimal value automatically
Use this width to render numbers instead of determining an optimal value
Align currencies in this column.
November 2020 bean-format 2.3.3