>>>> Craig Earls, o 04 Out, 13:45:
> Ledger is incredibly complex, and, frankly, I am at a loss on how to really
> approach it correctly. Some parts of the current manual are tutorial in
> nature, other parts are list of command options. They don't flow together
> and it isn't even clear to me where I should look to find anything in
> particular. So I beg you to give me some suggestions to help break through
> this block.
>
> Also, there are many, many entries in the lists of options/cmmands that
> say FIX THIS ENTRY. Because I don't have a decent understanding of some of
> the more arcane ones. If you see one that you understand please submit an
> entry to me.
>
If helps I attached a screenshot of my personal wiki ledger's page.
When I started with ledger found a mess of information in the manual
then I decided to create my own one to try to learn all ledger's
power and for quick reference.
I mixed ledger and hledger manual, internal help and comments in
code to create it and this is the result (work in progress).
Sorry, it's in my own language (galician).
It's structured in 4 blocks each one corresponding to the different
parts that compose a ledger's command:
$ ledger COMMAND QUERY OPTIONS ARGUMENTS
And an extra block (APPENDIX) with tips, howtos...
You can see in the screenshot but I put here the structure in english
for clarification:
COMMANDS
- main: balance, register, print, budget, cleared, equity
- list: accounts, commodities, prices, payees, stats
- output: csv, xml
- debug: args, eval, format, generate, parse, python, template
QUERY
- types: regex, payee, tag, note, code
- logic: and, or, not, ()
OPTIONS (see screenshot for full list)
- general: help, full-help, version, file...
- mainly for balance: basis, collapse, collapse-if-zero...
- mainly for register/print: average, deviation, current, effective...
- mainly for print: raw
- mainly for accounts/commodities/payees: count
- limit and group: period, period-sort, begin/end, dow, daily...
- commodities variation: exchange, gain, market, now
- output: amount, total, date, percentage, wide, columns...
- debug: args-only, verify, verbose, debug, trace
- unknown to me: base, cache, exact, generated, import...
ARGUMENTS
- PERIOD: every, daily, from/since...
- DATE: last, this, next...
- CONDITION:
- function: -, U, S, A, P
- variable: t, T, m, d, a, b...
- operator: * / + - ! < > = & | ?:, not, neg...
- expression: {N}, W/regex/, p/regex/...
- FORMAT
APPENDIX
- journal: format, directives, automatic/virtual registers, closing
year, blance verification, time manager
- commodities
- budget/forecast
I hope it can help :-)