ScanCommand constructor

ScanCommand(
  1. CommandContext context
)

Implementation

ScanCommand(super.context) {
  argParser
    ..addOption(
      'path',
      abbr: 'p',
      defaultsTo: Directory.current.path,
      help: 'Root directory to scan.',
    )
    ..addOption(
      'depth',
      defaultsTo: '6',
      help: 'Maximum recursive scan depth.',
    );
}