Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-25 00:13:39 +00:00
parent 2921ecc3a0
commit 38142caf85
10 changed files with 329 additions and 9 deletions

29
tldr/hledger-add Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hledger add
> Record new transactions with interactive prompting in the console.
> More information: <https://hledger.org/hledger.html#add>.
- Record new transactions, saving to the default journal file:
`hledger add`
- Add transactions to `2024.journal`, but also load `2023.journal` for completions:
`hledger add --file {{path/to/2024.journal}} --file {{path/to/2023.journal}}`
- Provide answers for the first four prompts:
`hledger add {{today}} '{{best buy}}' {{expenses:supplies}} '{{$20}}'`
- Show `add`'s options and documentation with `$PAGER`:
`hledger add --help`
- Show `add`'s documentation with `info` or `man` if available:
`hledger help add`