DOKK / manpages / debian 11 / beancount / bean-format.1.en
BEAN-FORMAT(1) User Commands BEAN-FORMAT(1)

bean-format - pretty print and align a Beancount ledger

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.

Beancount filename

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