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

bean-doctor - Beancount debugging tool

usage: bean-doctor [-h] [--version] command [filename] [rest [rest ...]]

Debugging tool for those finding bugs in Beancount.

This tool is able to dump lexer/parser state, and will provide other services in the name of debugging.

The command to run.
Beancount input filename.
All remaining arguments.

show this help message and exit
show program's version number and exit

: Dump the lexer output for a Beancount syntax file.
: Dump the lexer output for a Beancount syntax file.
: Run the parser in debug mode.
: Round-trip test on arbitrary Ledger.
: Validate a directory hierarchy against a ledger's account names.
: Print out a list of the available options.
: Print out the actual options parsed from a file.
: Report on the runtime dependencies.
: Report on the runtime dependencies.
: Describe the context that a particular transaction is applied to.
: Print out a list of transactions linked to the one at the given line.
: Print out Open directives that are missing for the given input file.
: Print out the precision inferred from the parsed numbers in the input file.
: Validate all the HTML files under a directory hierarchy.
November 2020 bean-doctor 2.3.3