-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Topics
With this issue you will get familiar at least with Rust's itertools, and with Rust's command line parser named Clap. You will also be exposed some simple Tackler datamodels. There is no need to have deep understanding how tackler works.
Introduction
It would be great to have accounts export for tackler. This would third export in addition to equity and identity exports
Correct content for configuration is located in files:
- Here is an example of accounts.toml
Accounts should be indented by three spaces in Accounts.toml and be sorted, and it must not have duplicates.
Testing
The integration tests are under tests/sh and test are run by test-runner-ng.sh
This functionality should be tested by own reference file, similar way than all other outputs.
Please let me know if you start working on this, and I will update the test-suite with reference files.
Pointers
- CLI arguments (clap)
- Export type definitions
- Export writer
- One example how to get all transactions
- One example how to iterate all postings in the transaction
Data models:
- Transaction
- Posting with TxnAccount, which have AccountTreeNode: the
AccountTreeNode::accountis the name which should go intoaccounts.toml.
How to proceed
Thank you for thinking to contribute to Tackler-NG!
If you have any question, you could ask those here on this ticket or open a new discussion (if you think it would longer, or is more than simple question). Read also Developer Documentation.
Let me know that you would like to work on this, and I will provide those reference vectors. Currently tackler-tests is separate repository and submodule of tackler-ng. Hence it's really tricky to update those in the PR and there is no need to do that.
Happy hacking!