This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
ledger-tui/examples/hledger-add.txt
Tony Grosinger 461812eace Initial commit
Description, date, and total fields are functional. Next step is to
start adding structure to the form and adding a window to the side which
will show previous similar transactions and autocomplete suggestions.
Arrow keys will be able to auto-fill the current field from the selected
suggestion.
2022-08-04 08:39:37 -07:00

24 lines
878 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$ hledger add
Adding transactions to journal file main.journal
Any command line arguments will be used as defaults.
Use tab key to complete, readline keys to edit, enter to accept defaults.
An optional (CODE) may follow transaction dates.
An optional ; COMMENT may follow descriptions or amounts.
If you make a mistake, enter < at any prompt to go one step backward.
To end a transaction, enter . when prompted.
To quit, enter . at a date prompt or press control-d or control-c.
Date [2022-02-08]: 2/15
Description: market
Account 1: expenses:food
Amount 1: $50
Account 2: assets:cash
Amount 2 [$-50]:
Account 3 (or . or enter to finish this transaction):
2022-02-15 market
expenses:food $50
assets:cash $-50
Save this transaction to the journal ? [y]:
Saved.
Starting the next transaction (. or ctrl-D/ctrl-C to quit)
Date [2022-02-15]: