BEAN-EXAMPLE(1)
πΈ NAME πΈ
okay so bestie, meet bean-example β she's a User Commands girly and she generates a randomized Beancount example file. that's the whole job. iconic. π
β¨ DESCRIPTION β¨
the way this works is:
usage: bean-example [-h] [--version] [--date-begin DATE_BEGIN]
[--date-end DATE_END] [--date-birth DATE_BIRTH] [-s SEED]
[--no-reformat] [-o OUTPUT]
so basically she generates a decently-sized example history, based on some rules. π
like β this script is used to generate some meaningful input to Beancount, input that looks as realistic as possible for a moderately complex mock individual. no cap, that's literally what the page says.
and ALSO?? you can use it as an input generator for a stress test for performance evaluation. so she's cute and she's useful. main character energy fr fr. π
π options: π
here's the lineup, bestie, every single one, don't skip:
-h,--helpβ show this help message and exit. classic. the safe word. π--version,-Vβ show program's version number and exit. she'll tell you how old she is and then leave. π--date-begin DATE_BEGIN,--begin-date DATE_BEGINβ Beginning date. that's when the story starts. β--date-end DATE_END,--end-date DATE_ENDβ End date. and that's when the story ends. periodt. π¦--date-birth DATE_BIRTH,--birth-date DATE_BIRTHβ Date of birth of our fictional character. yes we're giving our fake person a whole birthday. she deserves it. π-s SEED,--seed SEEDβ Fix the random seed for debugging. use this when you want the chaos to be reproducible chaos. π--no-reformatβ Don't format the output. she'll hand it to you raw. no styling, no filter, just vibes. β¨-o OUTPUT,--output OUTPUTβ Output filename (default stdout). like, where does the file go? your choice bestie. and if you don't pick? default stdout, so she just screams it directly at your terminal. π
ngl the --seed one is lowkey the most underrated here β debugging without a fixed seed is giving chaos demon. π
and that's the whole page, bestie!! go generate something beautiful π«Ά
this has been bean-example, version 2.3.6, from way back in April 2024 β and yeah, that's bean-example 2.3.6 with the April 2024 date, 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