AnalyzeCommand constructor

AnalyzeCommand(
  1. CommandContext context
)

Implementation

AnalyzeCommand(super.context) {
  argParser
    ..addOption(
      'path',
      abbr: 'p',
      defaultsTo: Directory.current.path,
      help: 'Root directory to analyze.',
    )
    ..addOption(
      'top',
      defaultsTo: '10',
      help: 'Number of largest entries to show.',
    );
}