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

Unified Diff: utils/pub/pub.dart

Issue 12755024: add cache list command to pub (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « utils/pub/hosted_source.dart ('k') | utils/pub/source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/pub.dart
===================================================================
--- utils/pub/pub.dart (revision 19938)
+++ utils/pub/pub.dart (working copy)
@@ -18,6 +18,7 @@
import 'command_update.dart';
import 'command_uploader.dart';
import 'command_version.dart';
+import 'command_cache.dart';
import 'entrypoint.dart';
import 'exit_codes.dart' as exit_codes;
import 'http.dart';
@@ -35,13 +36,14 @@
/// The commands that Pub understands.
Map<String, PubCommand> get pubCommands {
var commands = {
+ 'cache': new CacheCommand(),
'help': new HelpCommand(),
'install': new InstallCommand(),
'publish': new LishCommand(),
'update': new UpdateCommand(),
'uploader': new UploaderCommand(),
'version': new VersionCommand()
- };
+ };
for (var command in commands.values.toList()) {
for (var alias in command.aliases) {
commands[alias] = command;
« no previous file with comments | « utils/pub/hosted_source.dart ('k') | utils/pub/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698