CLI: Export database as CSV

* Changed `Extract` to `Export` to support additional formats
* Allow database expot as CSV.  Added a `--format` option to the `Export` command for that, which defaults to xml, so the current behavior is unchanged.
*The `CsvExporter` had to be refactored a bit, but nothing major. It can
now print to a file or return a string.
This commit is contained in:
louib 2019-06-16 21:33:13 -04:00 committed by Jonathan White
parent 547c246e88
commit 77fcde875e
11 changed files with 157 additions and 89 deletions

View file

@ -52,7 +52,7 @@ private slots:
void testEdit();
void testEstimate_data();
void testEstimate();
void testExtract();
void testExport();
void testGenerate_data();
void testGenerate();
void testKeyFileOption();