readme
This commit is contained in:
parent
c5e7b12a59
commit
8e4927edcd
32
README
32
README
@ -41,21 +41,22 @@ hledger looks for your ledger file at ~/.ledger by default. To use a
|
|||||||
different file, specify it with the LEDGER environment variable or -f
|
different file, specify it with the LEDGER environment variable or -f
|
||||||
option (which may be - for standard input). Basic usage is::
|
option (which may be - for standard input). Basic usage is::
|
||||||
|
|
||||||
hledger [OPTIONS] COMMAND [PATTERNS]
|
hledger [OPTIONS] [COMMAND [PATTERNS]]
|
||||||
|
|
||||||
where COMMAND is one of balance, print, register, ui, web, test; and
|
COMMAND is one of balance, print, register, ui, web, test (defaulting to
|
||||||
PATTERNS are zero or more regular expressions used to narrow the results.
|
balance). PATTERNS are zero or more regular expressions used to narrow the
|
||||||
Here are some commands to try::
|
results. Here are some commands to try::
|
||||||
|
|
||||||
hledger --help
|
|
||||||
export LEDGER=sample.ledger
|
export LEDGER=sample.ledger
|
||||||
hledger balance
|
hledger --help # show usage & options
|
||||||
hledger bal --depth 1
|
hledger balance # all accounts with aggregated balances
|
||||||
hledger register
|
hledger bal --depth 1 # only top-level accounts
|
||||||
hledger reg income
|
hledger register # transaction register
|
||||||
hledger reg desc:shop
|
hledger reg income # transactions to/from an income account
|
||||||
hledger ui
|
hledger reg checking # checking transactions
|
||||||
hledger web # if you installed with -f happs
|
hledger reg desc:shop # transactions with shop in the description
|
||||||
|
hledger ui # interactive ui, if you're on unix/mac
|
||||||
|
hledger web # web ui, if you installed with -f happs
|
||||||
|
|
||||||
|
|
||||||
Time reporting
|
Time reporting
|
||||||
@ -73,8 +74,9 @@ and COMMAND is one of the commands above. Timelog entries look like this::
|
|||||||
i 2009/03/31 22:21:45 some:project
|
i 2009/03/31 22:21:45 some:project
|
||||||
o 2009/04/01 02:00:34
|
o 2009/04/01 02:00:34
|
||||||
|
|
||||||
The clock-in project is treated as an account. Here are some time queries to try::
|
The project description is like an account name. Here are some queries to try::
|
||||||
|
|
||||||
|
ln -s `which hledger` ~/bin/hours # add the "hours" symlink in your path
|
||||||
export TIMELOG=/my/timelog # if it's not ~/.timelog
|
export TIMELOG=/my/timelog # if it's not ~/.timelog
|
||||||
hours # today's balances
|
hours # today's balances
|
||||||
hours today # the same
|
hours today # the same
|
||||||
@ -136,7 +138,7 @@ ledger features not supported
|
|||||||
.............................
|
.............................
|
||||||
|
|
||||||
ledger features not currently supported include: modifier and periodic
|
ledger features not currently supported include: modifier and periodic
|
||||||
entries, and options such as these::
|
entries, and the following options and commands::
|
||||||
|
|
||||||
Basic options:
|
Basic options:
|
||||||
-o, --output FILE write output to FILE
|
-o, --output FILE write output to FILE
|
||||||
@ -209,3 +211,5 @@ Other differences
|
|||||||
* hledger always shows timelog balances in hours
|
* hledger always shows timelog balances in hours
|
||||||
* hledger splits multi-day timelog sessions at midnight
|
* hledger splits multi-day timelog sessions at midnight
|
||||||
* hledger register report always sorts transactions by date
|
* hledger register report always sorts transactions by date
|
||||||
|
* hledger doesn't show description comments as part of the description
|
||||||
|
* hledger print puts a blank line after the entry, not before it
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user