import 'package:shorebird_cli/src/command.dart';
import 'package:shorebird_cli/src/commands/commands.dart';

/// {@template cache_command}
/// `shorebird cache`
/// Manage the Shorebird cache.
/// {@endtemplate}
class CacheCommand extends ShorebirdCommand {
  /// {@macro cache_command}
  CacheCommand({super.cache}) {
    addSubcommand(CleanCacheCommand(cache: cache));
  }

  @override
  String get description => 'Manage the Shorebird cache.';

  @override
  String get name => 'cache';
}
