confirm method
Prompts user for yes/no confirmation with message.
Implementation
@override
bool confirm(String message, {bool defaultValue = false}) {
if (_isJsonOutput) return defaultValue;
return _logger.confirm(message, defaultValue: defaultValue);
}