doRun method
Implementation
@override
Future<int> doRun() async {
printVerbose('Get dependencies');
final pubspecFiles = await getPubspecs();
if (pubspecFiles.isNotEmpty) {
for (final file in pubspecFiles) {
await flutter.pubGetOrFail(path: p.dirname(file.path));
}
printInfo('Got dependencies for ${pubspecFiles.length} pubspec files.');
}
return success(message: 'Done ✅');
}