Closed rohieb closed 6 years ago
Just added it to master branch. https://github.com/kendricktan/ledger-analytics/commit/fe1e6a5fcd900960beb3d4f3df334505ae0423de
I'm still integrating CI and testing so I won't be pushing to NPM for a while. You can build and install the version with extra args by cloning the folder, and running
npm install
npm run build
npm install -g .
ledger-analytics -f /tmp/test.ledger --input-date-format "%d.%m.%y"
:smile:
Thanks! That's exactly how I was thinking today of solving it :)
@rohieb there was a bug in the master branch, I've now pushed the latest working version (with the extra commands for ledger) onto npm now :slightly_smiling_face:
Should be v0.1.5a
When I start the script with
node ledger-analytics.js -f journal.ledger
and browse tolocalhost:3000
, I only get an error message in the browser:and on the console I see a lot of errors from ledger:
Normally I'm using ledger-cli with
--input-date-format "%d.%m.%y"
, is there a way to specify it in the script?Here is a MWE (in German) for testing: