Thanks for the quick reply John. Impressed at how you're keeping up with 
this thing after so many years. I just discovered ledger-cli and it's 
awesome :)

I'm quite keen on working on a pull request for this if you think it's a 
feature that'd make sense. I personally really miss being able to export 
"everything" raw to csv. Do you have any pointers or suggestions of where 
to look in the code? Or advise against it if it's going to be tricky to add 
it as my first contribution maybe?


On Wednesday, March 9, 2016 at 12:19:23 AM UTC+1, John Wiegley wrote:
>
> >>>>> Jakob Mattsson <[email protected] <javascript:>> writes: 
>
> > I've recently been looking into customizing the output of ledger csv 
> using 
> > --csv-format. What I can't figure out though is how to export the 
> assigned 
> > balance; or the balance assertion or what the preferred name for it is 
> :) 
> > How would I do this? 
>
> > To clarify further, I don't want to compute anything, I simply want an 
> > export of all my raw ledger data in a more machine friendly format than 
> > ledger print (which is not bad, but CSV would be better). 
>
> > I found that using ledger python this value can be accessed using 
> > post.assigned_amount, but I'm not too keen on implementing my own 
> version of 
> > ledger csv in python, with all the details and parameters that are 
> already 
> > available to ledger csv. 
>
> I can't think of any way to do what you're asking using --csv-format. 
>
> -- 
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F 
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to