Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/command/version.dart

Issue 657673002: Regenerate pub sources. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/command/uploader.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698