BEAN-DOCTOR(1)

πŸ“¦
version 2.3.6 Β· 3 versions
, in ubuntu noble

πŸ’… 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 -V said 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 noticing lex and dump_lexer are twins, and deps and checkdeps are 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