CliRunner constructor
CliRunner({
- Iterable<
Command< commands = const <Command<void>>[],void> >
Implementation
CliRunner({
Iterable<Command<void>> commands = const <Command<void>>[],
}) : super('linting', 'Analyze your code') {
if (commands.isEmpty) {
throw Exception("commands is empty!");
}
commands.forEach(addCommand);
}