copyReferences method
Copy the references folder
Implementation
Future<void> copyReferences() async {
final Directory templateDir = Directory(getTemplatePath('references'));
final Directory targetDir = Directory(
p.join(config.outputDir, 'references'),
);
if (!templateDir.existsSync()) {
warn('References directory not found, skipping');
return;
}
info('Copying references...');
await _copyDirectory(templateDir, targetDir);
success('References copied to: ${targetDir.path}');
}