mirror of
https://github.com/kmein/niveum
synced 2026-03-18 19:11:08 +01:00
feat(hora): filli-report
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
hora reg 'fillidefilla' -O csv \
|
|
||||||
-b "$(date -d "$(date +%Y-%m)-20 last month" +%Y-%m-%d)" \
|
|
||||||
-e "$(date -d "$(date +%Y-%m)-19" +%Y-%m-%d)" \
|
|
||||||
| sed 's/(fillidefilla:\(.*\))/\1/g' \
|
|
||||||
| xsv select date,amount,total,account,description
|
|
||||||
@@ -14,6 +14,13 @@
|
|||||||
(pkgs.writers.writeDashBin "hora" ''
|
(pkgs.writers.writeDashBin "hora" ''
|
||||||
${pkgs.hledger}/bin/hledger -f "${timeLedger}" "$@"
|
${pkgs.hledger}/bin/hledger -f "${timeLedger}" "$@"
|
||||||
'')
|
'')
|
||||||
|
(pkgs.writers.writeDashBin "hora-filli" ''
|
||||||
|
${pkgs.hledger}/bin/hledger -f "${timeLedger}" register fillidefilla -O csv \
|
||||||
|
-b "$(date -d "$(date +%Y-%m)-20 last month" +%Y-%m-%d)" \
|
||||||
|
-e "$(date -d "$(date +%Y-%m)-19" +%Y-%m-%d)" \
|
||||||
|
| sed 's/(fillidefilla:\(.*\))/\1/g' \
|
||||||
|
| xsv select date,amount,total,account,description
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
niveum.hledger = {
|
niveum.hledger = {
|
||||||
|
|||||||
Reference in New Issue
Block a user