summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/deck_convert.adb21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/deck_convert.adb b/src/deck_convert.adb
index a8c8673..3d8d953 100644
--- a/src/deck_convert.adb
+++ b/src/deck_convert.adb
@@ -171,24 +171,9 @@ begin
end if;
- -- 1. extract media to a temporary file
- -- 2. generate mapping of what media filenames correspond to what names in the zip
- -- 3. extract collection.anki2 to a temporary file
- -- 4. open collection.anki2 as an SQL database
- -- 5. SELECT models from col
- -- 6. store models in vector with id, flds, tmpls
- -- 7. SELECT mid, flds FROM notes
- -- 8. store as a map from mid -> array of flds values
- -- 9. generate required output file names and dir names for each mid from base name
- -- 10. for each of the models...
-
- -- CSV process
- -- 10.1. write header to output file using the fld names in model
- -- 10.2. write csv formatted row of each note for that model
- -- 10.3. as that is being done, if any note needs media, extract from zip into relevant dir
-
- -- FMD process
- -- 10.1.
+
+
+ -- Program functionality proper starts here
Deck_IO.Open_Database (-Input_Name, Deck);