mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 00:59:52 +00:00
Update cheatsheets
This commit is contained in:
25
hledger
Normal file
25
hledger
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# hledger
|
||||
|
||||
> A plain text accounting software for the command-line.
|
||||
> More information: <https://hledger.org>.
|
||||
|
||||
- Add transactions to your journal interactively:
|
||||
|
||||
`hledger add`
|
||||
|
||||
- Show the account hierarchy, using a specific journal file:
|
||||
|
||||
`hledger --file {{path/to/file.journal}} accounts --tree`
|
||||
|
||||
- Show a monthly income statement:
|
||||
|
||||
`hledger incomestatement --monthly --depth 2`
|
||||
|
||||
- Print the amount of cash spent on food:
|
||||
|
||||
`hledger print assets:cash | hledger -f- -I balance expenses:food --depth 2`
|
||||
Reference in New Issue
Block a user