Hi! This is super helpful! I am using this now and it is very powerful. Thanks!
On Thursday, September 21, 2023 at 9:59:39 AM UTC-7 Red S wrote: > May not be what you’re looking for, but I find autobean-format > <https://github.com/SEIAROTg/autobean-format> to excel at at this. It’s > now a part of my importer scripts, and is also a part of my editor. Here’s > everything except precision: > bean-extract <your_args> | autobean-format - --indent " " > --thousands-separator=add --spaces-in-braces --currency-column 80 > --cost-column 85 > > And here’s how I use it in vim: > au Filetype beancount let &formatprg="autobean-format - --sort --indent ' > ' --thousands-separator=add --spaces-in-braces --currency-column 80 > --cost-column 85" > > > On Sunday, September 17, 2023 at 8:02:18 AM UTC-7 Frederick Zhu wrote: > > Hi, > > I’d like to format my document when extracted. I know bean-format can make > alignments for all entries, but first it is another round of iteration, and > second, more importantly, it does not attach delimiter to numbers. > > For my own usage, I specifically want my currency “USD” ending at column > 80, with 2 decimal precision, and the comma delimiter. > > Thanks. > > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/8fffdb71-b5c1-48c7-84e6-f9af03799b4cn%40googlegroups.com.
