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

Unified Diff: sdk/lib/_internal/pub/lib/src/command.dart

Issue 217343004: Add a "pub dependencies" command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 9 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/lib/src/command.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command.dart b/sdk/lib/_internal/pub/lib/src/command.dart
index 591704db2c5312fb3b54c5795f08973730a0fc13..760d5fc659244d60cf79a2c5d9af47c36ed85772 100644
--- a/sdk/lib/_internal/pub/lib/src/command.dart
+++ b/sdk/lib/_internal/pub/lib/src/command.dart
@@ -12,6 +12,7 @@ import 'package:path/path.dart' as path;
import 'command/build.dart';
import 'command/cache.dart';
+import 'command/deps.dart';
import 'command/get.dart';
import 'command/help.dart';
import 'command/lish.dart';
@@ -22,7 +23,6 @@ import 'command/uploader.dart';
import 'command/version.dart';
import 'entrypoint.dart';
import 'exit_codes.dart' as exit_codes;
-import 'io.dart';
import 'log.dart' as log;
import 'system_cache.dart';
import 'utils.dart';
@@ -243,6 +243,7 @@ _initCommands() {
'cache': new CacheCommand(),
'get': new GetCommand(),
'help': new HelpCommand(),
+ 'deps': new DepsCommand(),
'list-package-dirs': new ListPackageDirsCommand(),
'publish': new LishCommand(),
'serve': new ServeCommand(),

Powered by Google App Engine
This is Rietveld 408576698