tokei
tokei copied to clipboard
Feature: support output to sqlite
Hi,
It would be useful if tokei
could output to sqlite, appending on each run, for time-series type analysis.
cloc
already has this feature implemented, albeit it is less robust when processing repos generally.
Cheers
It outputs to well defined file formats and should keep doing so, then no direct interfacing to sqlite or some other. Of course it may output SQL format (but there's a canvat because in an INSERT statement one need to target a table and know column names), but simple CSV is often suffisant: sqlite and other DBMS know how to import such format.
For time-series analysis, the CSV should be generated with RRD in ming…
True, #558 would make this redundant
Thank you for your issue! I would be okay with adding support for this if there's a serde
crate that can generate that style of output.