doc: regenerate built-in help
[ci skip]
This commit is contained in:
parent
77c342f6e3
commit
6ed238a3d6
@ -13,8 +13,6 @@ hledger\-web \- web interface for the hledger accounting tool
|
|||||||
.P
|
.P
|
||||||
.PD
|
.PD
|
||||||
\f[C]hledger\ web\ \-\-\ [OPTIONS]\f[]
|
\f[C]hledger\ web\ \-\-\ [OPTIONS]\f[]
|
||||||
.PP
|
|
||||||
.PP
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
hledger is a cross\-platform program for tracking money, time, or any
|
hledger is a cross\-platform program for tracking money, time, or any
|
||||||
@ -49,18 +47,8 @@ opens it in your default web browser if possible.
|
|||||||
In this mode the web app will keep running for as long as you have it
|
In this mode the web app will keep running for as long as you have it
|
||||||
open in a browser window, and will exit after two minutes of inactivity
|
open in a browser window, and will exit after two minutes of inactivity
|
||||||
(no requests and no browser windows viewing it).
|
(no requests and no browser windows viewing it).
|
||||||
.IP
|
With \f[C]\-\-serve\f[], it just runs the web app without exiting, and
|
||||||
.nf
|
logs requests to the console.
|
||||||
\f[C]
|
|
||||||
$\ hledger\ web
|
|
||||||
Starting\ web\ app\ on\ port\ 5000\ with\ base\ url\ http://localhost:5000
|
|
||||||
Starting\ web\ browser\ if\ possible
|
|
||||||
Web\ app\ will\ auto\-exit\ after\ a\ few\ minutes\ with\ no\ browsers\ (or\ press\ ctrl\-c)
|
|
||||||
\f[]
|
|
||||||
.fi
|
|
||||||
.PP
|
|
||||||
With \f[C]\-\-serve\f[], it starts the web app in non\-transient mode
|
|
||||||
and logs requests to the console.
|
|
||||||
.PP
|
.PP
|
||||||
By default the server listens on IP address 127.0.0.1, accessible only
|
By default the server listens on IP address 127.0.0.1, accessible only
|
||||||
to local requests.
|
to local requests.
|
||||||
|
|||||||
@ -30,16 +30,8 @@ hledger_journal(5) etc.
|
|||||||
also opens it in your default web browser if possible. In this mode the
|
also opens it in your default web browser if possible. In this mode the
|
||||||
web app will keep running for as long as you have it open in a browser
|
web app will keep running for as long as you have it open in a browser
|
||||||
window, and will exit after two minutes of inactivity (no requests and
|
window, and will exit after two minutes of inactivity (no requests and
|
||||||
no browser windows viewing it).
|
no browser windows viewing it). With `--serve', it just runs the web
|
||||||
|
app without exiting, and logs requests to the console.
|
||||||
|
|
||||||
$ hledger web
|
|
||||||
Starting web app on port 5000 with base url http://localhost:5000
|
|
||||||
Starting web browser if possible
|
|
||||||
Web app will auto-exit after a few minutes with no browsers (or press ctrl-c)
|
|
||||||
|
|
||||||
With `--serve', it starts the web app in non-transient mode and logs
|
|
||||||
requests to the console.
|
|
||||||
|
|
||||||
By default the server listens on IP address 127.0.0.1, accessible
|
By default the server listens on IP address 127.0.0.1, accessible
|
||||||
only to local requests. You can use `--host' to change this, eg `--host
|
only to local requests. You can use `--host' to change this, eg `--host
|
||||||
@ -200,7 +192,7 @@ before options as shown above.
|
|||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
Node: Top90
|
Node: Top90
|
||||||
Node: OPTIONS3343
|
Node: OPTIONS3144
|
||||||
Ref: #options3430
|
Ref: #options3231
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|||||||
@ -10,8 +10,6 @@ SYNOPSIS
|
|||||||
hledger-web [OPTIONS]
|
hledger-web [OPTIONS]
|
||||||
hledger web -- [OPTIONS]
|
hledger web -- [OPTIONS]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
hledger is a cross-platform program for tracking money, time, or any
|
hledger is a cross-platform program for tracking money, time, or any
|
||||||
other commodity, using double-entry accounting and a simple, editable
|
other commodity, using double-entry accounting and a simple, editable
|
||||||
@ -41,15 +39,8 @@ DESCRIPTION
|
|||||||
opens it in your default web browser if possible. In this mode the web
|
opens it in your default web browser if possible. In this mode the web
|
||||||
app will keep running for as long as you have it open in a browser win-
|
app will keep running for as long as you have it open in a browser win-
|
||||||
dow, and will exit after two minutes of inactivity (no requests and no
|
dow, and will exit after two minutes of inactivity (no requests and no
|
||||||
browser windows viewing it).
|
browser windows viewing it). With --serve, it just runs the web app
|
||||||
|
without exiting, and logs requests to the console.
|
||||||
$ hledger web
|
|
||||||
Starting web app on port 5000 with base url http://localhost:5000
|
|
||||||
Starting web browser if possible
|
|
||||||
Web app will auto-exit after a few minutes with no browsers (or press ctrl-c)
|
|
||||||
|
|
||||||
With --serve, it starts the web app in non-transient mode and logs
|
|
||||||
requests to the console.
|
|
||||||
|
|
||||||
By default the server listens on IP address 127.0.0.1, accessible only
|
By default the server listens on IP address 127.0.0.1, accessible only
|
||||||
to local requests. You can use --host to change this, eg
|
to local requests. You can use --host to change this, eg
|
||||||
|
|||||||
@ -2177,107 +2177,112 @@ It\[aq]s mainly used in development, but it\[aq]s also nice to be able
|
|||||||
to check your hledger executable for smoke at any time.
|
to check your hledger executable for smoke at any time.
|
||||||
.SH ADD\-ON COMMANDS
|
.SH ADD\-ON COMMANDS
|
||||||
.PP
|
.PP
|
||||||
Add\-on commands are executables in your PATH whose name starts with
|
hledger also searches for external add\-on commands, and will include
|
||||||
\f[C]hledger\-\f[] and ends with any of these file extensions: none,
|
these in the commands list.
|
||||||
\f[C]\&.hs\f[],\f[C]\&.lhs\f[],\f[C]\&.pl\f[],\f[C]\&.py\f[],\f[C]\&.rb\f[],\f[C]\&.rkt\f[],\f[C]\&.sh\f[],\f[C]\&.bat\f[],\f[C]\&.com\f[],\f[C]\&.exe\f[].
|
These are programs or scripts in your PATH whose name starts with
|
||||||
Also, an add\-on\[aq]s name may not be the same as any built\-in command
|
\f[C]hledger\-\f[] and ends with a recognised file extension (currently:
|
||||||
or alias.
|
no extension, \f[C]bat\f[],\f[C]com\f[],\f[C]exe\f[],
|
||||||
|
\f[C]hs\f[],\f[C]lhs\f[],\f[C]pl\f[],\f[C]py\f[],\f[C]rb\f[],\f[C]rkt\f[],\f[C]sh\f[]).
|
||||||
.PP
|
.PP
|
||||||
hledger will detect these and include them in the command list and let
|
Add\-ons can be invoked like any hledger command, but there are a few
|
||||||
you invoke them with \f[C]hledger\ ADDONCMD\f[].
|
things to be aware of.
|
||||||
However there are some limitations:
|
Eg if the \f[C]hledger\-web\f[] add\-on is installed,
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Options appearing before ADDONCMD will be visible only to hledger and
|
\f[C]hledger\ \-h\ web\f[] shows hledger\[aq]s help, while
|
||||||
will not be passed to the add\-on.
|
\f[C]hledger\ web\ \-h\f[] shows hledger\-web\[aq]s help.
|
||||||
Eg: \f[C]hledger\ \-h\ web\f[] shows hledger\[aq]s usage,
|
|
||||||
\f[C]hledger\ web\ \-h\f[] shows hledger\-web\[aq]s usage.
|
|
||||||
.IP \[bu] 2
|
.IP \[bu] 2
|
||||||
Options understood only by the add\-on must go after a \f[C]\-\-\f[]
|
Flags specific to the add\-on must have a preceding \f[C]\-\-\f[] to
|
||||||
argument to hide them from hledger, which would otherwise reject them.
|
hide them from hledger.
|
||||||
Eg: \f[C]hledger\ web\ \-\-\ \-\-server\f[].
|
So \f[C]hledger\ web\ \-\-serve\ \-\-port\ 9000\f[] will be rejected;
|
||||||
|
you must use \f[C]hledger\ web\ \-\-\ \-\-serve\ \-\-port\ 9000\f[].
|
||||||
|
.IP \[bu] 2
|
||||||
|
You can always run add\-ons directly if preferred:
|
||||||
|
\f[C]hledger\-web\ \-\-serve\ \-\-port\ 9000\f[].
|
||||||
.PP
|
.PP
|
||||||
Sometimes it may be more convenient to just run the add\-on directly,
|
Add\-ons are a relatively easy way to add local features or experiment
|
||||||
eg: \f[C]hledger\-web\ \-\-server\f[].
|
with new ideas.
|
||||||
|
They can be written in any language, but haskell scripts have a big
|
||||||
|
advantage: they can use the same hledger (and haskell) library functions
|
||||||
|
that built\-in commands do, for command\-line options, journal parsing,
|
||||||
|
reporting, etc.
|
||||||
.PP
|
.PP
|
||||||
Add\-ons which are written in haskell can take advantage of the
|
Here are some hledger add\-ons available:
|
||||||
hledger\-lib library for journal parsing, reporting, command\-line
|
|
||||||
options, etc.
|
|
||||||
.PP
|
|
||||||
Here are some hledger add\-ons available from Hackage, the extra
|
|
||||||
directory in the hledger source, or elsewhere:
|
|
||||||
.SS Official add\-ons
|
.SS Official add\-ons
|
||||||
.PP
|
.PP
|
||||||
These are maintained and released along with hledger.
|
These are maintained and released along with hledger.
|
||||||
.SS api
|
.SS api
|
||||||
.PP
|
.PP
|
||||||
Web API server, see hledger\-api.
|
hledger\-api serves hledger data as a JSON web API.
|
||||||
.SS ui
|
.SS ui
|
||||||
.PP
|
.PP
|
||||||
Curses\-style interface, see hledger\-ui.
|
hledger\-ui provides an efficient curses\-style interface.
|
||||||
.SS web
|
.SS web
|
||||||
.PP
|
.PP
|
||||||
Web interface, see hledger\-web.
|
hledger\-web provides a simple web interface.
|
||||||
.SS Third party add\-ons
|
.SS Third party add\-ons
|
||||||
.PP
|
.PP
|
||||||
These are maintained separately from hledger, and usually updated
|
These are maintained separately, and usually updated shortly after a
|
||||||
shortly after a hledger release.
|
hledger release.
|
||||||
.SS diff
|
.SS diff
|
||||||
.PP
|
.PP
|
||||||
hledger\-diff Shows differences in an account\[aq]s transactions between
|
hledger\-diff shows differences in an account\[aq]s transactions between
|
||||||
one journal file and another.
|
one journal file and another.
|
||||||
.SS iadd
|
.SS iadd
|
||||||
.PP
|
.PP
|
||||||
hledger\-iadd A curses\-style, more interactive replacement for the add
|
hledger\-iadd is a curses\-style, more interactive replacement for the
|
||||||
command.
|
add command.
|
||||||
.SS interest
|
.SS interest
|
||||||
.PP
|
.PP
|
||||||
hledger\-interest Generates interest transactions for an account
|
hledger\-interest generates interest transactions for an account
|
||||||
according to various schemes.
|
according to various schemes.
|
||||||
.SS irr
|
.SS irr
|
||||||
.PP
|
.PP
|
||||||
hledger\-irr Calculates the internal rate of return of an investment
|
hledger\-irr calculates the internal rate of return of an investment
|
||||||
account.
|
account.
|
||||||
.SS Experimental add\-ons
|
.SS Experimental add\-ons
|
||||||
.PP
|
.PP
|
||||||
These add\-ons are available in source form in the hledger repo.
|
These are available in source form in the hledger repo\[aq]s bin/
|
||||||
Installing them is pretty easy.
|
directory; installing them is pretty easy.
|
||||||
Reading and copying these is a good way to start making your own
|
They may be less mature and documented than built\-in commands.
|
||||||
add\-ons.
|
Reading and tweaking these is a good way to start making your own!
|
||||||
These are typically more experimental and less documented than built\-in
|
.SS autosync
|
||||||
commands.
|
.PP
|
||||||
|
hledger\-autosync is a symbolic link for easily running
|
||||||
|
ledger\-autosync, if installed.
|
||||||
|
ledger\-autosync does deduplicating conversion of OFX data and some CSV
|
||||||
|
formats, and can also download the data if your bank offers OFX Direct
|
||||||
|
Connect.
|
||||||
.SS budget
|
.SS budget
|
||||||
.PP
|
.PP
|
||||||
hledger\-budget.hs A tool adding more budget\-tracking features to
|
hledger\-budget.hs adds more budget\-tracking features to hledger.
|
||||||
hledger.
|
|
||||||
.SS chart
|
.SS chart
|
||||||
.PP
|
.PP
|
||||||
hledger\-chart.hs An old pie chart generator, in need of some love.
|
hledger\-chart.hs is an old pie chart generator, in need of some love.
|
||||||
.SS check
|
.SS check
|
||||||
.PP
|
.PP
|
||||||
hledger\-check.hs More powerful account balance assertions.
|
hledger\-check.hs checks more powerful account balance assertions.
|
||||||
.SS check\-dates
|
.SS check\-dates
|
||||||
.PP
|
.PP
|
||||||
hledger\-check\-dates.hs Checks that journal entries are ordered by
|
hledger\-check\-dates.hs checks that journal entries are ordered by
|
||||||
date.
|
date.
|
||||||
.SS dupes
|
.SS dupes
|
||||||
.PP
|
.PP
|
||||||
hledger\-dupes.hs Checks for account names sharing the same leaf name.
|
hledger\-dupes.hs checks for account names sharing the same leaf name.
|
||||||
.SS equity
|
.SS equity
|
||||||
.PP
|
.PP
|
||||||
hledger\-equity.hs Prints balance\-resetting transactions useful for
|
hledger\-equity.hs prints balance\-resetting transactions, useful for
|
||||||
bringing account balances across file boundaries.
|
bringing account balances across file boundaries.
|
||||||
.SS prices
|
.SS prices
|
||||||
.PP
|
.PP
|
||||||
hledger\-prices.hs Prints transactions which do not reuse an
|
hledger\-prices.hs prints all prices from the journal.
|
||||||
already\-seen description.
|
|
||||||
.SS print\-unique
|
.SS print\-unique
|
||||||
.PP
|
.PP
|
||||||
hledger\-print\-unique.hs Prints transactions which do not reuse an
|
hledger\-print\-unique.hs prints transactions which do not reuse an
|
||||||
already\-seen description.
|
already\-seen description.
|
||||||
.SS register\-match
|
.SS register\-match
|
||||||
.PP
|
.PP
|
||||||
hledger\-register\-match.hs Helps ledger\-autosync recognise
|
hledger\-register\-match.hs helps ledger\-autosync detect already\-seen
|
||||||
already\-imported transactions.
|
transactions when importing.
|
||||||
.SS rewrite
|
.SS rewrite
|
||||||
.PP
|
.PP
|
||||||
hledger\-rewrite.hs Adds one or more custom postings to matched
|
hledger\-rewrite.hs Adds one or more custom postings to matched
|
||||||
|
|||||||
@ -1813,33 +1813,33 @@ File: hledger.1.info, Node: ADD-ON COMMANDS, Next: TROUBLESHOOTING, Prev: COM
|
|||||||
5 ADD-ON COMMANDS
|
5 ADD-ON COMMANDS
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
Add-on commands are executables in your PATH whose name starts with
|
hledger also searches for external add-on commands, and will include
|
||||||
`hledger-' and ends with any of these file extensions: none,
|
these in the commands list. These are programs or scripts in your PATH
|
||||||
`.hs',`.lhs',`.pl',`.py',`.rb',`.rkt',`.sh',`.bat',`.com',`.exe'.
|
whose name starts with `hledger-' and ends with a recognised file
|
||||||
Also, an add-on's name may not be the same as any built-in command or
|
extension (currently: no extension, `bat',`com',`exe',
|
||||||
alias.
|
`hs',`lhs',`pl',`py',`rb',`rkt',`sh').
|
||||||
|
|
||||||
hledger will detect these and include them in the command list and
|
Add-ons can be invoked like any hledger command, but there are a few
|
||||||
let you invoke them with `hledger ADDONCMD'. However there are some
|
things to be aware of. Eg if the `hledger-web' add-on is installed,
|
||||||
limitations:
|
|
||||||
|
|
||||||
* Options appearing before ADDONCMD will be visible only to hledger
|
* `hledger -h web' shows hledger's help, while `hledger web -h'
|
||||||
and will not be passed to the add-on. Eg: `hledger -h web' shows
|
shows hledger-web's help.
|
||||||
hledger's usage, `hledger web -h' shows hledger-web's usage.
|
|
||||||
|
|
||||||
* Options understood only by the add-on must go after a `--' argument
|
* Flags specific to the add-on must have a preceding `--' to hide
|
||||||
to hide them from hledger, which would otherwise reject them. Eg:
|
them from hledger. So `hledger web --serve --port 9000' will be
|
||||||
`hledger web -- --server'.
|
rejected; you must use `hledger web -- --serve --port 9000'.
|
||||||
|
|
||||||
Sometimes it may be more convenient to just run the add-on directly,
|
* You can always run add-ons directly if preferred: `hledger-web
|
||||||
eg: `hledger-web --server'.
|
--serve --port 9000'.
|
||||||
|
|
||||||
Add-ons which are written in haskell can take advantage of the
|
|
||||||
hledger-lib library for journal parsing, reporting, command-line
|
|
||||||
options, etc.
|
|
||||||
|
|
||||||
Here are some hledger add-ons available from Hackage, the extra
|
Add-ons are a relatively easy way to add local features or experiment
|
||||||
directory in the hledger source, or elsewhere:
|
with new ideas. They can be written in any language, but haskell scripts
|
||||||
|
have a big advantage: they can use the same hledger (and haskell)
|
||||||
|
library functions that built-in commands do, for command-line options,
|
||||||
|
journal parsing, reporting, etc.
|
||||||
|
|
||||||
|
Here are some hledger add-ons available:
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
|
|
||||||
@ -1867,7 +1867,7 @@ File: hledger.1.info, Node: api, Next: ui, Up: Official add-ons
|
|||||||
5.1.1 api
|
5.1.1 api
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Web API server, see hledger-api.
|
hledger-api serves hledger data as a JSON web API.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: ui, Next: web, Prev: api, Up: Official add-ons
|
File: hledger.1.info, Node: ui, Next: web, Prev: api, Up: Official add-ons
|
||||||
@ -1875,7 +1875,7 @@ File: hledger.1.info, Node: ui, Next: web, Prev: api, Up: Official add-ons
|
|||||||
5.1.2 ui
|
5.1.2 ui
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Curses-style interface, see hledger-ui.
|
hledger-ui provides an efficient curses-style interface.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: web, Prev: ui, Up: Official add-ons
|
File: hledger.1.info, Node: web, Prev: ui, Up: Official add-ons
|
||||||
@ -1883,7 +1883,7 @@ File: hledger.1.info, Node: web, Prev: ui, Up: Official add-ons
|
|||||||
5.1.3 web
|
5.1.3 web
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Web interface, see hledger-web.
|
hledger-web provides a simple web interface.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: Third party add-ons, Next: Experimental add-ons, Prev: Official add-ons, Up: ADD-ON COMMANDS
|
File: hledger.1.info, Node: Third party add-ons, Next: Experimental add-ons, Prev: Official add-ons, Up: ADD-ON COMMANDS
|
||||||
@ -1891,8 +1891,8 @@ File: hledger.1.info, Node: Third party add-ons, Next: Experimental add-ons,
|
|||||||
5.2 Third party add-ons
|
5.2 Third party add-ons
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
These are maintained separately from hledger, and usually updated
|
These are maintained separately, and usually updated shortly after a
|
||||||
shortly after a hledger release.
|
hledger release.
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
|
|
||||||
@ -1907,7 +1907,7 @@ File: hledger.1.info, Node: diff, Next: iadd, Up: Third party add-ons
|
|||||||
5.2.1 diff
|
5.2.1 diff
|
||||||
----------
|
----------
|
||||||
|
|
||||||
hledger-diff Shows differences in an account's transactions between one
|
hledger-diff shows differences in an account's transactions between one
|
||||||
journal file and another.
|
journal file and another.
|
||||||
|
|
||||||
|
|
||||||
@ -1916,7 +1916,7 @@ File: hledger.1.info, Node: iadd, Next: interest, Prev: diff, Up: Third part
|
|||||||
5.2.2 iadd
|
5.2.2 iadd
|
||||||
----------
|
----------
|
||||||
|
|
||||||
hledger-iadd A curses-style, more interactive replacement for the add
|
hledger-iadd is a curses-style, more interactive replacement for the add
|
||||||
command.
|
command.
|
||||||
|
|
||||||
|
|
||||||
@ -1925,7 +1925,7 @@ File: hledger.1.info, Node: interest, Next: irr, Prev: iadd, Up: Third party
|
|||||||
5.2.3 interest
|
5.2.3 interest
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
hledger-interest Generates interest transactions for an account
|
hledger-interest generates interest transactions for an account
|
||||||
according to various schemes.
|
according to various schemes.
|
||||||
|
|
||||||
|
|
||||||
@ -1934,7 +1934,7 @@ File: hledger.1.info, Node: irr, Prev: interest, Up: Third party add-ons
|
|||||||
5.2.4 irr
|
5.2.4 irr
|
||||||
---------
|
---------
|
||||||
|
|
||||||
hledger-irr Calculates the internal rate of return of an investment
|
hledger-irr calculates the internal rate of return of an investment
|
||||||
account.
|
account.
|
||||||
|
|
||||||
|
|
||||||
@ -1943,13 +1943,14 @@ File: hledger.1.info, Node: Experimental add-ons, Prev: Third party add-ons,
|
|||||||
5.3 Experimental add-ons
|
5.3 Experimental add-ons
|
||||||
========================
|
========================
|
||||||
|
|
||||||
These add-ons are available in source form in the hledger repo.
|
These are available in source form in the hledger repo's bin/ directory;
|
||||||
Installing them is pretty easy. Reading and copying these is a good way
|
installing them is pretty easy. They may be less mature and documented
|
||||||
to start making your own add-ons. These are typically more experimental
|
than built-in commands. Reading and tweaking these is a good way to
|
||||||
and less documented than built-in commands.
|
start making your own!
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
|
|
||||||
|
* autosync::
|
||||||
* budget::
|
* budget::
|
||||||
* chart::
|
* chart::
|
||||||
* check::
|
* check::
|
||||||
@ -1962,86 +1963,95 @@ and less documented than built-in commands.
|
|||||||
* rewrite::
|
* rewrite::
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: budget, Next: chart, Up: Experimental add-ons
|
File: hledger.1.info, Node: autosync, Next: budget, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.1 budget
|
5.3.1 autosync
|
||||||
|
--------------
|
||||||
|
|
||||||
|
hledger-autosync is a symbolic link for easily running ledger-autosync,
|
||||||
|
if installed. ledger-autosync does deduplicating conversion of OFX data
|
||||||
|
and some CSV formats, and can also download the data if your bank offers
|
||||||
|
OFX Direct Connect.
|
||||||
|
|
||||||
|
|
||||||
|
File: hledger.1.info, Node: budget, Next: chart, Prev: autosync, Up: Experimental add-ons
|
||||||
|
|
||||||
|
5.3.2 budget
|
||||||
------------
|
------------
|
||||||
|
|
||||||
hledger-budget.hs A tool adding more budget-tracking features to
|
hledger-budget.hs adds more budget-tracking features to hledger.
|
||||||
hledger.
|
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: chart, Next: check, Prev: budget, Up: Experimental add-ons
|
File: hledger.1.info, Node: chart, Next: check, Prev: budget, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.2 chart
|
5.3.3 chart
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
hledger-chart.hs An old pie chart generator, in need of some love.
|
hledger-chart.hs is an old pie chart generator, in need of some love.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: check, Next: check-dates, Prev: chart, Up: Experimental add-ons
|
File: hledger.1.info, Node: check, Next: check-dates, Prev: chart, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.3 check
|
5.3.4 check
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
hledger-check.hs More powerful account balance assertions.
|
hledger-check.hs checks more powerful account balance assertions.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: check-dates, Next: dupes, Prev: check, Up: Experimental add-ons
|
File: hledger.1.info, Node: check-dates, Next: dupes, Prev: check, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.4 check-dates
|
5.3.5 check-dates
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
hledger-check-dates.hs Checks that journal entries are ordered by date.
|
hledger-check-dates.hs checks that journal entries are ordered by date.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: dupes, Next: equity, Prev: check-dates, Up: Experimental add-ons
|
File: hledger.1.info, Node: dupes, Next: equity, Prev: check-dates, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.5 dupes
|
5.3.6 dupes
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
hledger-dupes.hs Checks for account names sharing the same leaf name.
|
hledger-dupes.hs checks for account names sharing the same leaf name.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: equity, Next: prices, Prev: dupes, Up: Experimental add-ons
|
File: hledger.1.info, Node: equity, Next: prices, Prev: dupes, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.6 equity
|
5.3.7 equity
|
||||||
------------
|
------------
|
||||||
|
|
||||||
hledger-equity.hs Prints balance-resetting transactions useful for
|
hledger-equity.hs prints balance-resetting transactions, useful for
|
||||||
bringing account balances across file boundaries.
|
bringing account balances across file boundaries.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: prices, Next: print-unique, Prev: equity, Up: Experimental add-ons
|
File: hledger.1.info, Node: prices, Next: print-unique, Prev: equity, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.7 prices
|
5.3.8 prices
|
||||||
------------
|
------------
|
||||||
|
|
||||||
hledger-prices.hs Prints transactions which do not reuse an already-seen
|
hledger-prices.hs prints all prices from the journal.
|
||||||
description.
|
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: print-unique, Next: register-match, Prev: prices, Up: Experimental add-ons
|
File: hledger.1.info, Node: print-unique, Next: register-match, Prev: prices, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.8 print-unique
|
5.3.9 print-unique
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
hledger-print-unique.hs Prints transactions which do not reuse an
|
hledger-print-unique.hs prints transactions which do not reuse an
|
||||||
already-seen description.
|
already-seen description.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: register-match, Next: rewrite, Prev: print-unique, Up: Experimental add-ons
|
File: hledger.1.info, Node: register-match, Next: rewrite, Prev: print-unique, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.9 register-match
|
5.3.10 register-match
|
||||||
--------------------
|
---------------------
|
||||||
|
|
||||||
hledger-register-match.hs Helps ledger-autosync recognise
|
hledger-register-match.hs helps ledger-autosync detect already-seen
|
||||||
already-imported transactions.
|
transactions when importing.
|
||||||
|
|
||||||
|
|
||||||
File: hledger.1.info, Node: rewrite, Prev: register-match, Up: Experimental add-ons
|
File: hledger.1.info, Node: rewrite, Prev: register-match, Up: Experimental add-ons
|
||||||
|
|
||||||
5.3.10 rewrite
|
5.3.11 rewrite
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
hledger-rewrite.hs Adds one or more custom postings to matched
|
hledger-rewrite.hs Adds one or more custom postings to matched
|
||||||
@ -2230,51 +2240,53 @@ Node: test58331
|
|||||||
Ref: #test58418
|
Ref: #test58418
|
||||||
Node: ADD-ON COMMANDS58785
|
Node: ADD-ON COMMANDS58785
|
||||||
Ref: #add-on-commands58921
|
Ref: #add-on-commands58921
|
||||||
Node: Official add-ons60173
|
Node: Official add-ons60206
|
||||||
Ref: #official-add-ons60315
|
Ref: #official-add-ons60348
|
||||||
Node: api60403
|
Node: api60436
|
||||||
Ref: #api60494
|
Ref: #api60527
|
||||||
Node: ui60528
|
Node: ui60579
|
||||||
Ref: #ui60629
|
Ref: #ui60680
|
||||||
Node: web60670
|
Node: web60738
|
||||||
Ref: #web60761
|
Ref: #web60829
|
||||||
Node: Third party add-ons60794
|
Node: Third party add-ons60875
|
||||||
Ref: #third-party-add-ons60971
|
Ref: #third-party-add-ons61052
|
||||||
Node: diff61120
|
Node: diff61188
|
||||||
Ref: #diff61219
|
Ref: #diff61287
|
||||||
Node: iadd61318
|
Node: iadd61386
|
||||||
Ref: #iadd61434
|
Ref: #iadd61502
|
||||||
Node: interest61514
|
Node: interest61585
|
||||||
Ref: #interest61637
|
Ref: #interest61708
|
||||||
Node: irr61732
|
Node: irr61803
|
||||||
Ref: #irr61832
|
Ref: #irr61903
|
||||||
Node: Experimental add-ons61910
|
Node: Experimental add-ons61981
|
||||||
Ref: #experimental-add-ons62064
|
Ref: #experimental-add-ons62135
|
||||||
Node: budget62454
|
Node: autosync62521
|
||||||
Ref: #budget62561
|
Ref: #autosync62635
|
||||||
Node: chart62636
|
Node: budget62873
|
||||||
Ref: #chart62755
|
Ref: #budget62997
|
||||||
Node: check62823
|
Node: chart63063
|
||||||
Ref: #check62947
|
Ref: #chart63182
|
||||||
Node: check-dates63007
|
Node: check63253
|
||||||
Ref: #check-dates63143
|
Ref: #check63377
|
||||||
Node: dupes63216
|
Node: check-dates63444
|
||||||
Ref: #dupes63341
|
Ref: #check-dates63580
|
||||||
Node: equity63412
|
Node: dupes63653
|
||||||
Ref: #equity63534
|
Ref: #dupes63778
|
||||||
Node: prices63652
|
Node: equity63849
|
||||||
Ref: #prices63781
|
Ref: #equity63971
|
||||||
Node: print-unique63868
|
Node: prices64090
|
||||||
Ref: #print-unique64017
|
Ref: #prices64219
|
||||||
Node: register-match64110
|
Node: print-unique64274
|
||||||
Ref: #register-match64264
|
Ref: #print-unique64423
|
||||||
Node: rewrite64354
|
Node: register-match64516
|
||||||
Ref: #rewrite64475
|
Ref: #register-match64672
|
||||||
Node: TROUBLESHOOTING64553
|
Node: rewrite64770
|
||||||
Ref: #troubleshooting64672
|
Ref: #rewrite64891
|
||||||
Node: Run-time problems64726
|
Node: TROUBLESHOOTING64969
|
||||||
Ref: #run-time-problems64869
|
Ref: #troubleshooting65088
|
||||||
Node: Known limitations66813
|
Node: Run-time problems65142
|
||||||
Ref: #known-limitations66956
|
Ref: #run-time-problems65285
|
||||||
|
Node: Known limitations67229
|
||||||
|
Ref: #known-limitations67372
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|||||||
@ -1539,102 +1539,105 @@ COMMANDS
|
|||||||
be able to check your hledger executable for smoke at any time.
|
be able to check your hledger executable for smoke at any time.
|
||||||
|
|
||||||
ADD-ON COMMANDS
|
ADD-ON COMMANDS
|
||||||
Add-on commands are executables in your PATH whose name starts with
|
hledger also searches for external add-on commands, and will include
|
||||||
hledger- and ends with any of these file extensions: none,
|
these in the commands list. These are programs or scripts in your PATH
|
||||||
.hs,.lhs,.pl,.py,.rb,.rkt,.sh,.bat,.com,.exe. Also, an add-on's name
|
whose name starts with hledger- and ends with a recognised file exten-
|
||||||
may not be the same as any built-in command or alias.
|
sion (currently: no extension, bat,com,exe, hs,lhs,pl,py,rb,rkt,sh).
|
||||||
|
|
||||||
hledger will detect these and include them in the command list and let
|
Add-ons can be invoked like any hledger command, but there are a few
|
||||||
you invoke them with hledger ADDONCMD. However there are some limita-
|
things to be aware of. Eg if the hledger-web add-on is installed,
|
||||||
tions:
|
|
||||||
|
|
||||||
o Options appearing before ADDONCMD will be visible only to hledger and
|
o hledger -h web shows hledger's help, while hledger web -h shows
|
||||||
will not be passed to the add-on. Eg: hledger -h web shows hledger's
|
hledger-web's help.
|
||||||
usage, hledger web -h shows hledger-web's usage.
|
|
||||||
|
|
||||||
o Options understood only by the add-on must go after a -- argument to
|
o Flags specific to the add-on must have a preceding -- to hide them
|
||||||
hide them from hledger, which would otherwise reject them. Eg:
|
from hledger. So hledger web --serve --port 9000 will be rejected;
|
||||||
hledger web -- --server.
|
you must use hledger web -- --serve --port 9000.
|
||||||
|
|
||||||
Sometimes it may be more convenient to just run the add-on directly,
|
o You can always run add-ons directly if preferred:
|
||||||
eg: hledger-web --server.
|
hledger-web --serve --port 9000.
|
||||||
|
|
||||||
Add-ons which are written in haskell can take advantage of the
|
Add-ons are a relatively easy way to add local features or experiment
|
||||||
hledger-lib library for journal parsing, reporting, command-line
|
with new ideas. They can be written in any language, but haskell
|
||||||
options, etc.
|
scripts have a big advantage: they can use the same hledger (and
|
||||||
|
haskell) library functions that built-in commands do, for command-line
|
||||||
|
options, journal parsing, reporting, etc.
|
||||||
|
|
||||||
Here are some hledger add-ons available from Hackage, the extra direc-
|
Here are some hledger add-ons available:
|
||||||
tory in the hledger source, or elsewhere:
|
|
||||||
|
|
||||||
Official add-ons
|
Official add-ons
|
||||||
These are maintained and released along with hledger.
|
These are maintained and released along with hledger.
|
||||||
|
|
||||||
api
|
api
|
||||||
Web API server, see hledger-api.
|
hledger-api serves hledger data as a JSON web API.
|
||||||
|
|
||||||
ui
|
ui
|
||||||
Curses-style interface, see hledger-ui.
|
hledger-ui provides an efficient curses-style interface.
|
||||||
|
|
||||||
web
|
web
|
||||||
Web interface, see hledger-web.
|
hledger-web provides a simple web interface.
|
||||||
|
|
||||||
Third party add-ons
|
Third party add-ons
|
||||||
These are maintained separately from hledger, and usually updated
|
These are maintained separately, and usually updated shortly after a
|
||||||
shortly after a hledger release.
|
hledger release.
|
||||||
|
|
||||||
diff
|
diff
|
||||||
hledger-diff Shows differences in an account's transactions between one
|
hledger-diff shows differences in an account's transactions between one
|
||||||
journal file and another.
|
journal file and another.
|
||||||
|
|
||||||
iadd
|
iadd
|
||||||
hledger-iadd A curses-style, more interactive replacement for the add
|
hledger-iadd is a curses-style, more interactive replacement for the
|
||||||
command.
|
add command.
|
||||||
|
|
||||||
interest
|
interest
|
||||||
hledger-interest Generates interest transactions for an account accord-
|
hledger-interest generates interest transactions for an account accord-
|
||||||
ing to various schemes.
|
ing to various schemes.
|
||||||
|
|
||||||
irr
|
irr
|
||||||
hledger-irr Calculates the internal rate of return of an investment
|
hledger-irr calculates the internal rate of return of an investment
|
||||||
account.
|
account.
|
||||||
|
|
||||||
Experimental add-ons
|
Experimental add-ons
|
||||||
These add-ons are available in source form in the hledger repo.
|
These are available in source form in the hledger repo's bin/ direc-
|
||||||
Installing them is pretty easy. Reading and copying these is a good
|
tory; installing them is pretty easy. They may be less mature and doc-
|
||||||
way to start making your own add-ons. These are typically more experi-
|
umented than built-in commands. Reading and tweaking these is a good
|
||||||
mental and less documented than built-in commands.
|
way to start making your own!
|
||||||
|
|
||||||
|
autosync
|
||||||
|
hledger-autosync is a symbolic link for easily running ledger-autosync,
|
||||||
|
if installed. ledger-autosync does deduplicating conversion of OFX
|
||||||
|
data and some CSV formats, and can also download the data if your bank
|
||||||
|
offers OFX Direct Connect.
|
||||||
|
|
||||||
budget
|
budget
|
||||||
hledger-budget.hs A tool adding more budget-tracking features to
|
hledger-budget.hs adds more budget-tracking features to hledger.
|
||||||
hledger.
|
|
||||||
|
|
||||||
chart
|
chart
|
||||||
hledger-chart.hs An old pie chart generator, in need of some love.
|
hledger-chart.hs is an old pie chart generator, in need of some love.
|
||||||
|
|
||||||
check
|
check
|
||||||
hledger-check.hs More powerful account balance assertions.
|
hledger-check.hs checks more powerful account balance assertions.
|
||||||
|
|
||||||
check-dates
|
check-dates
|
||||||
hledger-check-dates.hs Checks that journal entries are ordered by date.
|
hledger-check-dates.hs checks that journal entries are ordered by date.
|
||||||
|
|
||||||
dupes
|
dupes
|
||||||
hledger-dupes.hs Checks for account names sharing the same leaf name.
|
hledger-dupes.hs checks for account names sharing the same leaf name.
|
||||||
|
|
||||||
equity
|
equity
|
||||||
hledger-equity.hs Prints balance-resetting transactions useful for
|
hledger-equity.hs prints balance-resetting transactions, useful for
|
||||||
bringing account balances across file boundaries.
|
bringing account balances across file boundaries.
|
||||||
|
|
||||||
prices
|
prices
|
||||||
hledger-prices.hs Prints transactions which do not reuse an
|
hledger-prices.hs prints all prices from the journal.
|
||||||
already-seen description.
|
|
||||||
|
|
||||||
print-unique
|
print-unique
|
||||||
hledger-print-unique.hs Prints transactions which do not reuse an
|
hledger-print-unique.hs prints transactions which do not reuse an
|
||||||
already-seen description.
|
already-seen description.
|
||||||
|
|
||||||
register-match
|
register-match
|
||||||
hledger-register-match.hs Helps ledger-autosync recognise
|
hledger-register-match.hs helps ledger-autosync detect already-seen
|
||||||
already-imported transactions.
|
transactions when importing.
|
||||||
|
|
||||||
rewrite
|
rewrite
|
||||||
hledger-rewrite.hs Adds one or more custom postings to matched transac-
|
hledger-rewrite.hs Adds one or more custom postings to matched transac-
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user