mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 22:56:08 +00:00
Update cheatsheets
This commit is contained in:
38
tldr/hledger-web
Normal file
38
tldr/hledger-web
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# hledger-web
|
||||
|
||||
> Web interface and API to `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-web`
|
||||
|
||||
- As above but with a specified file, and allow editing of existing data:
|
||||
|
||||
`hledger-web --file {{path/to/file.journal}} --allow edit`
|
||||
|
||||
- Start just the web app, and accept incoming connections to the specified host and port:
|
||||
|
||||
`hledger-web --serve --host {{my.host.name}} --port 8000`
|
||||
|
||||
- Start just the web app's JSON API, and allow only read access:
|
||||
|
||||
`hledger-web --serve-api --host {{my.host.name}} --allow view`
|
||||
|
||||
- Show amounts converted to current market value in your base currency when known:
|
||||
|
||||
`hledger-web --value now --infer-market-prices`
|
||||
|
||||
- Show the manual in Info format if possible:
|
||||
|
||||
`hledger-web --info`
|
||||
|
||||
- Display help:
|
||||
|
||||
`hledger-web --help`
|
||||
Reference in New Issue
Block a user