reaktor2: pretty print bier balance

This commit is contained in:
lassulus 2019-01-27 14:27:54 +01:00
parent 052cef71fd
commit fd4876da16

View File

@ -99,7 +99,9 @@ let
state_file = "${stateDir}/ledger";
};
filename = pkgs.writeDash "bier-balance" ''
${pkgs.hledger}/bin/hledger -f $state_file bal -N
${pkgs.hledger}/bin/hledger -f $state_file bal -N -O csv \
| ${pkgs.coreutils}/bin/tail +2 \
| ${pkgs.miller}/bin/mlr --icsv --opprint cat
'';
};
}