Split into libraries + binary so that I can reuse it for more hard-to-justify porject such as "importer for my special account" which can be constructed as an independent private Cargo crate.
Separation plan
okane which contains binary okane.
okane-core which contains repl + data
core responsibility is to provide an interface to understand / manipulate Ledger format file.
Questions
Do we want to include "config" as part of core, or it's part of binary?
On one side it can be part of core, given it might change the understanding of the structure (e.g. digits, comma)
OTOH, core can handle "pure ledger" which might not be derived from "okane" tool.
Do we want to split more?
e.g. split okane-parse? probably not worth doing that.
Do we want okane-import library?
Mostly this part is strongly coupled with the binary functionality.
But i might need some of them (singleentry -> ledger data? but still may not be needed.)
Split into libraries + binary so that I can reuse it for more hard-to-justify porject such as "importer for my special account" which can be constructed as an independent private Cargo crate.
Separation plan
okane
which contains binaryokane
.okane-core
which contains repl + dataQuestions
okane-parse
? probably not worth doing that.okane-import
library?