deb-sig / double-entry-generator

Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi etc. to Beancount/Ledger).
https://github.com/deb-sig/double-entry-generator
Apache License 2.0
537 stars 79 forks source link

feat[ledger]: add support for `ledger-cli` #92

Closed ramsayleung closed 1 year ago

ramsayleung commented 1 year ago

Hi, Thanks for your great work on this project.

Context

我也在用复式记账,但是使用的是 ledger 而非 beancount.

Feature Request

目前 double-entry-generator 尚且只支持 beancount, 而 beancountledger 的记账语法类似,所以我希望 double-entry-generator 也可以支持 ledger.

TODO List

目前我已经给 double-entry-generator 增加了 ledger 的支持,代码部分已经写完并且自测可行。 但只实现对部分 provider 的支持:

Action

在发起 PR 之前,我想先在 issue 分享一下这个 增加对 ledger 支持的feature 的想法.

如果能达成共识的话,我倾向将功能拆分成多个PR, 以避免单个 PR 过大,导致不易 Review.

Triple-Z commented 1 year ago

SGTM👍 PRs are welcome.

@gaocegege IR has multiple backends finally🤣

Triple-Z commented 1 year ago

忘记改 README 了 🤣

image
ramsayleung commented 1 year ago

这个本来就打算先不改的,等把所有的模板支持都加上之后再修改的。

现在修改了,用户使用时就会发现, ledger 后端还不支持 huobihtsec.

功能完备之后再开启流量灰度 :)

gaocegege commented 1 year ago

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

Triple-Z commented 1 year ago

貌似只剩下修改文档了。

ramsayleung commented 1 year ago

PR 在路上了 :)