detect method
Detects the dependencies of a list of files
.
Implementation
Future<List<String>> detect(List<String> files) async {
log('Inspecting ${files.length} file(s): be patient');
for (var file in files) {
await getDependencies(file);
}
return await findPackages();
}