BEAN-QUERY(1)
π NAME π
bean-query β bestie, it's an interactive shell for the Beancount Query Language β¨ (yes, this is section 1, the User Commands manual, we're fancy like that π
)
β¨ DESCRIPTION β¨
okay so picture this: you've got a Beancount file, and you wanna talk to it. That's her. She's an interactive command-line shell interpreter for the Beancount Query Language, and she eats. π
Here's how you call her:
bean-query [-h] [--version] [-f {text,csv}] [-m] [-o OUTPUT] [-q]
FILENAME.beancount [query ...]
No cap, that's the whole vibe. Now let's break down every single piece because we do not skip details in this house π«Ά
πΈ positional arguments πΈ
FILENAME.beancountβ the Beancount input filename to load. this is the snack she's gonna read, you gotta hand it over first, no skipping πqueryβ a query to run directly. like, right there, immediately, no small talk. just query and go π¨
π options π
-h,--helpβ shows this help message and then dips out (exit). iconic behaviour honestly π--version,-Vβ shows the program's version number and exits. she'll tell you exactly who she is, then leave. main character energy fr fr π-f {text,csv},--format {text,csv}β output format. pick your aesthetic:textorcsv, that's the menu π-m,--numberifyβ numberify the output, removing the currencies. all the digits, none of the currency labels. just the numbers, raw, unbothered β¨-o OUTPUT,--output OUTPUTβ output filename. if you don't specify one, the output goes to stdout (aka straight to your terminal, as nature intended π). and here's the cute part: the filename gets inspected to select a sensible default format, if one is not requested. so she's reading the vibe of your filename and matching it, periodt π₯-q,--no-errorsβ do not report errors. the errors stay silent. she simply will not be discussing it π€
lowkey important: these option descriptions are exactly what the original says, so don't go reading extra behaviour into -q β it just means errors aren't reported. that's it, that's the tea π«
and that's the whole page, bestie!! go query something, you're gonna slay π
πΈβ¨ this has been bean-query 2.3.6, from April 2024 β mwah, 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