installDependencies function
Installs dependencies for the current dart project
since 0.0.1
Implementation
Future<void> installDependencies(IShell shell, {bool upgrade = false}) async {
await _whenDartProject('Install Dependencies', shell, () async {
_log.info('Installing Dependencies...');
await shell.run(upgrade ? 'dart pub upgrade' : 'dart pub get');
});
}