double-entry-generator icon indicating copy to clipboard operation
double-entry-generator copied to clipboard

feat: add beancount hash tag support

Open p3psi-boo opened this issue 3 years ago • 6 comments

支持 Beancount 的 Hashtag,目前仅实现了支付宝以及微信

用法: 在规则添加 tags 字段,多个 tag 之间用 seq(默认为,)进行分隔。

p3psi-boo avatar Sep 23 '22 05:09 p3psi-boo

Good feature :) but I prefer to use the metadata :P

Triple-Z avatar Sep 23 '22 10:09 Triple-Z

我这边的账单不全是生成的,有时候会自己手动录入一些数据,特别是一段时间的账单,用 pushtagpoptag 比较方便,然后这样子可以和生成的一起查询。

因此如果有类似我这种使用场景的,可以用 tag 来标记。

代码可能不太好,第一次写 Golang,望请多多包涵。

p3psi-boo avatar Sep 26 '22 03:09 p3psi-boo

Thanks for your contribution! :tada: :+1:

Please help fix the test cases.

gaocegege avatar Oct 01 '22 15:10 gaocegege

Fixed

p3psi-boo avatar Oct 10 '22 00:10 p3psi-boo

LGTM

/cc @Triple-Z

Let's merge it.

gaocegege avatar Oct 10 '22 01:10 gaocegege

Thanks for your contribution! :tada: :+1:

gaocegege avatar Oct 10 '22 01:10 gaocegege