mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 00:56:05 +00:00
Update cheatsheets
This commit is contained in:
29
ledger
Normal file
29
ledger
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ledger
|
||||
|
||||
> A powerful, double-entry accounting system.
|
||||
> More information: <https://www.ledger-cli.org>.
|
||||
|
||||
- Print a balance report showing totals:
|
||||
|
||||
`ledger balance --file {{path/to/ledger.journal}}`
|
||||
|
||||
- List all postings in Expenses ordered by amount:
|
||||
|
||||
`ledger register {{expenses}} --sorted {{amount}}`
|
||||
|
||||
- Print total Expenses other than Drinks and Food:
|
||||
|
||||
`ledger balance {{Expenses}} and not ({{Drinks}} or {{Food}})`
|
||||
|
||||
- Print a budget report:
|
||||
|
||||
`ledger budget`
|
||||
|
||||
- Print summary information about all the postings:
|
||||
|
||||
`ledger stats`
|
||||
Reference in New Issue
Block a user