Index: sdk/lib/_internal/pub_generated/lib/src/command/version.dart |
diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/version.dart b/sdk/lib/_internal/pub_generated/lib/src/command/version.dart |
index 208c2f5657be22c19e4c875a2155c435be49ea50..bab6c6b9bbd69cdefd2d100207e32c11c48423cc 100644 |
--- a/sdk/lib/_internal/pub_generated/lib/src/command/version.dart |
+++ b/sdk/lib/_internal/pub_generated/lib/src/command/version.dart |
@@ -1,11 +1,20 @@ |
+// Copyright (c) 2012, 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. |
+ |
library pub.command.version; |
+ |
import 'dart:async'; |
+ |
import '../command.dart'; |
import '../log.dart' as log; |
import '../sdk.dart' as sdk; |
+ |
+/// Handles the `version` pub command. |
class VersionCommand extends PubCommand { |
String get description => "Print pub version."; |
String get usage => "pub version"; |
+ |
Future onRun() { |
log.message("Pub ${sdk.version}"); |
return null; |