README.md in ldgr-0.1.5 vs README.md in ldgr-0.1.6
- old
+ new
@@ -38,20 +38,22 @@
Type `ldgr -h` at the command-line to see available commands and options.
The CLI defaults the currency to **$**. You can set this yourself by adding a single currency character to `~/.config/ledger/default_currency`.
## CLI
-```sh
+```
ldgr add --payee Brandon \
--amount 1000 \
--account Something \
--equity Cash \
--date 2017-02-01 \
--effective 2017-02-03 \
- --cleared`
+ --cleared \
+ --currency ¥
ldgr clear
ldgr sort
+ldgr tag
```
## Library
~~~ruby
@@ -61,9 +63,10 @@
t.account = 'Something'
t.equity = 'Cash'
t.date = Date.today + 1
t.effective = Date.today + 10
t.cleared = true
+ t.currency = '¥'
end
~~~
Ledger works with plain text files, so **yes**, the amount attribute should be a string.