writeGenShelf function
write gen files
Implementation
Future<void> writeGenShelf(RawShelf rawShelf) async {
// Folder
writeFolder(rawShelf.folderPath);
// File
writeStringFile(
rawShelf.filePath,
rawShelf.fileContent,
);
// Books
for (final rawBook in rawShelf.books) {
await writeGenBook(rawBook);
}
}