-
-
Save multidis/2bbd171b188046d77ed1b017e4df9358 to your computer and use it in GitHub Desktop.
Collection of ledger-cli commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @smallexample | |
| ; This is a single line comment, | |
| # and this, | |
| % and this, | |
| | and this, | |
| * and this. | |
| # Provides ledger balance until the month of "i.e. August" | |
| # aug could be replaced by any prefix for monthly calendar. | |
| # ledger bal -f YOURFILENAME --period "until aug" | |
| # Provides a balance of account type "i.e. assets, expenses" | |
| ledger -f YOURFILENAME balance assets:checking | |
| ledger -f YOURFILENAME register expenses:food | |
| # See account subtotals for any postings related to a specific fund | |
| @smallexample | |
| ledger --code-as-payee -P reg ^Assets | |
| @end smallexample | |
| # Or to see a particular funds expenses, the @samp{School} fund in this case | |
| @smallexample | |
| ledger --code-as-payee -P reg ^Expenses @@School | |
| @end smallexample |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment