blob: 7fb7d000b69e9c7b21c7d50d5ccdd908b2d2a20a [file] [log] [blame]
// Copyright (c) 2013, 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 '../command.dart';
import 'cache_add.dart';
import 'cache_list.dart';
import 'cache_repair.dart';
/// Handles the `cache` pub command.
class CacheCommand extends PubCommand {
String get name => "cache";
String get description => "Work with the system cache.";
String get invocation => "pub cache <subcommand>";
String get docUrl => "https://dart.dev/tools/pub/cmd/pub-cache";
CacheCommand() {
addSubcommand(CacheAddCommand());
addSubcommand(CacheListCommand());
addSubcommand(CacheRepairCommand());
}
}