bean-bake - bake a static web view of a Beancount ledger
usage: bean-bake [-h] [--version] [--port PORT] [-q] [--debug] [--incognito]
- [--no-source] [--no-colons] [--view VIEW] [--public]
[--first-month FIRST_MONTH] [--render-all-pages] 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.
-
-h, --help
- show this help message and exit
-
--version, -V
- show program's version number and exit
- filename
- Beancount input filename to serve.
-
--port PORT
- Which port to listen on.
-
-q, --quiet
- Don't even print out web server log
- --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.
- 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.
-
--render-all-pages, --full
- Don't ignore some of the more numerious pages, like monthly
reports.