On Mon, May 13, 2024 at 07:36:15PM -0700, Justus Pendleton wrote: > - Maybe make -s/--somewhere/--anywhere a flag-less default so you can use > it more like regular grep? That is: bean-grep foo my.beancount is > equivalent to bean-grep -s foo my.beancount > - A way to filter out transactions from closed accounts? Maybe even make > that the default? > > It feels like it might be nice to have it auto-infer the type of search. > 2002-12-30 means --date. #tag means --tag. I think you could do it for > --meta, too? But maybe there's no good way to handle --account, --payee, > and --narration without just turning it into --anywhere.
Both done in version 0.3.0. They provide a much nicer user experience, thanks for the idea! In terms of what is auto-detectable, I stopped at: (full!) dates, #tag, ^link, and key:val for metadata. I don't think one can go much further than that without usability issues, but shout if you have other ideas. Cheers -- Stefano Zacchiroli . [email protected] . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o </> <\> Co-founder & CTO Software Heritage o o o o /\|^|/\ https://twitter.com/zacchiro . https://mastodon.xyz/@zacchiro '" V "' -- 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/20240515162752.6j7nguanpifv2r3j%40upsilon.cc.
