BEAN-EXAMPLE(1)

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

🌸 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