Index: pkg/fasta/bin/outline.dart |
diff --git a/pkg/fasta/bin/outline.dart b/pkg/fasta/bin/outline.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..12728536e874a3c8d168903c999a7f2c7b2e8e58 |
--- /dev/null |
+++ b/pkg/fasta/bin/outline.dart |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import 'package:fasta/src/outline.dart' as outline; |
+ |
+const int iterations = const int.fromEnvironment("iterations", defaultValue: 1); |
+ |
+main(List<String> arguments) async { |
+ for (int i = 0; i < iterations; i++) { |
+ if (i > 0) { |
+ print("\n"); |
+ } |
+ await outline.outline(arguments); |
+ } |
+} |