I have added an additional exporter which generated an apkg file to allow importing the complete deck without directly writing into the database. This would also allow for sharing the deck with other people, if the user has need for this.
I am not sure if the exported fields are complete. I believe there are some missing. Maybe all the fields available in the Vocab class should be exported. But I made the exporter similar to the AnkiExporter to have consistency.
Furthermore I added the option to select the exporter via the config file, and moved parameter related to an exporter in a separate section. The exporter will be initialized only with the needed parameters and passing the vocabulary will be done with the export function.
I am not sure if this structure of the config is good, but I guess this is something which can be iterated.
I also fixed some deprecation warnings for the AnkiExporter.
I have added an additional exporter which generated an apkg file to allow importing the complete deck without directly writing into the database. This would also allow for sharing the deck with other people, if the user has need for this. I am not sure if the exported fields are complete. I believe there are some missing. Maybe all the fields available in the Vocab class should be exported. But I made the exporter similar to the AnkiExporter to have consistency.
Furthermore I added the option to select the exporter via the config file, and moved parameter related to an exporter in a separate section. The exporter will be initialized only with the needed parameters and passing the vocabulary will be done with the export function. I am not sure if this structure of the config is good, but I guess this is something which can be iterated.
I also fixed some deprecation warnings for the AnkiExporter.