feat: use sed to write reports to hard-coded line
in README
This commit is contained in:
parent
1412106e10
commit
cd153113b4
|
@ -48,5 +48,6 @@ hledger-web --file ./finances.hledger
|
|||
|
||||
Writing a HTML table to the README
|
||||
```
|
||||
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html --yearly --row-total >> README.md
|
||||
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html --yearly --row-total | sed -i '8r /dev/stdin' README.md
|
||||
sed -i '14,17d' README.md
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue