CacheGcCommand constructor

CacheGcCommand(
  1. CommandContext context
)

Implementation

CacheGcCommand(super.context) {
  argParser
    ..addFlag(
      'dry-run',
      help: 'Show cache sizes without running garbage collection.',
      negatable: false,
    )
    ..addFlag(
      'yes',
      abbr: 'y',
      help: 'Skip confirmation prompts.',
      negatable: false,
    );
}