snippetbashTip
hledger-web — A web interface and API for `hledger`, a robust, friendly plain text accounting app. More informatio
Viewed 0 times
hledger-webcommandandinterfacecliwebapifor
Problem
How to use the
hledger-web command: A web interface and API for hledger, a robust, friendly plain text accounting app. More information: <https://hledger.org/hledger-web.html>.Solution
hledger-web — A web interface and API for hledger, a robust, friendly plain text accounting app. More information: <https://hledger.org/hledger-web.html>.Start the web app, and a browser if possible, for local viewing and adding only:
hledger-webAs above but with a specified file, and allow editing of existing data:
hledger-web {{[-f|--file]}} {{path/to/file.journal}} --allow editStart just the web app, and accept incoming connections to the specified host and port:
hledger-web --serve --host {{my.host.name}} --port 8000Start just the web app's JSON API, and allow only read access:
hledger-web --serve-api --host {{my.host.name}} --allow viewShow amounts converted to current market value in your base currency when known:
hledger-web --value now --infer-market-pricesShow the manual in Info format if possible:
hledger-web --infoDisplay help:
hledger-web {{[-h|--help]}}Code Snippets
Start the web app, and a browser if possible, for local viewing and adding only
hledger-webAs above but with a specified file, and allow editing of existing data
hledger-web {{[-f|--file]}} {{path/to/file.journal}} --allow editStart just the web app, and accept incoming connections to the specified host and port
hledger-web --serve --host {{my.host.name}} --port 8000Start just the web app's JSON API, and allow only read access
hledger-web --serve-api --host {{my.host.name}} --allow viewShow amounts converted to current market value in your base currency when known
hledger-web --value now --infer-market-pricesContext
tldr-pages: common/hledger-web
Revisions (0)
No revisions yet.