---
name: "bean-example"
section: "1"
platform: "linux"
package: "beancount"
version: "2.3.5-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/bean-example"
---

# bean-example(1)

generate a randomized Beancount example file

## NAME

bean-example - generate a randomized Beancount example file

## DESCRIPTION

usage: bean-example \[-h\] \[--version\] \[--date-begin DATE\_BEGIN\]

- \[--date-end DATE\_END\] \[--date-birth DATE\_BIRTH\] \[-s SEED\]

  \[--no-reformat\] \[-o OUTPUT\]

Generate a decently-sized example history, based on some rules. This script is used to generate some meaningful input to Beancount, input that looks as realistic as possible for a moderately complex mock individual. This can also be used as an input generator for a stress test for performance evaluation.

### options:

- **-h**, **--help**

  show this help message and exit

- **--version**, **-V**

  show program's version number and exit

- **--date-begin** DATE\_BEGIN, **--begin-date** DATE\_BEGIN

  Beginning date

- **--date-end** DATE\_END, **--end-date** DATE\_END

  End date.

- **--date-birth** DATE\_BIRTH, **--birth-date** DATE\_BIRTH

  Date of birth of our fictional character.

- **-s** SEED, **--seed** SEED

  Fix the random seed for debugging.

- **--no-reformat**

  Don't format the output

- **-o** OUTPUT, **--output** OUTPUT

  Output filename (default stdout)
