BEAN-DOCTOR(1)
π BEAN-DOCTOR(1) β like, the beancount debugging tool bestie π
okay so this is the manual page for bean-doctor, a User Commands girly, and she is so useful if you're out here finding bugs in Beancount. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
bean-doctor β Beancount debugging tool π©Ίπ
πΈ DESCRIPTION πΈ
usage is literally this:
bean-doctor [-h] [--version] command [filename] [rest ...]
She's a debugging tool for those finding bugs in Beancount. no cap.
This tool is able to dump lexer/parser state, and will provide other services in the name of debugging. she's giving main character energy but for diagnostics π
π positional arguments π
commandβ The command to run. (the actual thing you're asking her to do, bestie)filenameβ Beancount input filename. (your ledger, your vibe)restβ All remaining arguments. (the little extras, throw them in there)
π¦ options π¦
-h,--helpβ show this help message and exit. classic. iconic. never fails you π--version,-Vβ show program's version number and exit. short queen-Vsaid hi too β¨
π Available Commands π
lexβ Dump the lexer output for a Beancount syntax file.dump_lexerβ Dump the lexer output for a Beancount syntax file.parseβ Run the parser in debug mode.roundtripβ Round-trip test on arbitrary Ledger.directoriesβ Validate a directory hierarchy against a ledger's account names.list_optionsβ Print out a list of the available options.print_optionsβ Print out the actual options parsed from a file.depsβ Report on the runtime dependencies.checkdepsβ Report on the runtime dependencies.contextβ Describe the context that a particular transaction is applied to.linkedβ Print out a list of transactions linked to the one at the given line.missing_openβ Print out Open directives that are missing for the given input file.display_contextβ Print out the precision inferred from the parsed numbers in the input file.validate_htmlβ Validate all the HTML files under a directory hierarchy.
not me noticinglexanddump_lexerare twins, anddepsandcheckdepsare also twins π siblings fr fr, both listed, both real, don't skip either one π«Ά
that's the whole page, bestie β every command, every flag, every positional, nothing dropped, periodt π
this was bean-doctor version 2.3.6, dated April 2024 β mwah, sending you off with a kiss and a clean ledger ππ bye!!
π¦ where this page comes from
- ubuntu noble: beancount 2.3.6-1build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms