Index: lib/src/command/get.dart |
diff --git a/lib/src/command/get.dart b/lib/src/command/get.dart |
index e34f6fabfb6f81b769d478c29e2c1d3777fbfb62..c86e904881d379f2ef08d7112debccf179af5652 100644 |
--- a/lib/src/command/get.dart |
+++ b/lib/src/command/get.dart |
@@ -22,10 +22,14 @@ class GetCommand extends PubCommand { |
argParser.addFlag('dry-run', abbr: 'n', negatable: false, |
help: "Report what dependencies would change but don't change any."); |
+ |
+ argParser.addFlag('precompile', defaultsTo: true, |
+ help: "Precompile executables and transformed dependencies."); |
} |
Future run() { |
return entrypoint.acquireDependencies(SolveType.GET, |
- dryRun: argResults['dry-run']); |
+ dryRun: argResults['dry-run'], |
+ precompile: argResults['precompile']); |
} |
} |