download method
Implementation
Future<void> download() async {
final result = await downloadTranslations(config.projectToken!);
for (var item in result.entries) {
final file = File(path.join(
config.directory!,
formatPattern(config.filename!, [item.key]),
));
stdout.writeln('Writing ${item.value.length} entries to ${file.path}');
await file.writeAsString(format.convert(item.value));
}
}