NAME¶
bean-bake - bake a static web view of a Beancount ledger
DESCRIPTION¶
usage: bean-bake [-h] [--version] [--port PORT] [--debug] [--incognito]
- [--no-source] [--no-colons] [--view VIEW] [--public] [--first-month
FIRST_MONTH] [-q] [--full-mode] filename output
Bake a Beancount input file's web files to a directory hierarchy.
You provide a Beancount filename, an output directory, and this script runs
a server and a scraper that puts all the files in the directory, and if your
output name has an archive suffix, we automatically the fetched directory
contents to the archive and delete them.
optional arguments:¶
- -h, --help
- show this help message and exit
- --version, -V
- show program's version number and exit
Web server arguments:¶
- filename
- Beancount input filename to serve.
- --port PORT
- Which port to listen on.
- --debug
- Enable debugging features (auto-reloading of css).
- --incognito
- Filter the output in order to hide all the numbers. This is great for
demos using my real file.
- --no-source
- Don't render the source.
- --no-colons
- Don't render colons in filenames (for Windows).
- --view VIEW
- Render only the specified view (identify by URL)
- --public, --inaddr-any
- Bind server to listen to any address, not just localhost.
- --first-month FIRST_MONTH
- The first month of the calendar year.
Bake process arguments:¶
- output
- The output directory or archive name. If you specify a filename with a
well-known extension,we automatically archive the fetched directory
contents to this archive name and delete them.
- -q, --quiet
- Don't even print out web server log
- --full-mode, --full
- Don't ignore some of the more numerious pages, like monthly reports.