Drush8Io.php in CMS Content Sync 2.1.x
File
src/Cli/Drush8Io.php
View source
<?php
namespace Drupal\cms_content_sync\Cli;
use Drush\Log\LogLevel;
class Drush8Io implements ICLIIO {
public function confirm($text, $default = true) {
return drush_confirm($text);
}
public function success($text) {
drush_log($text, LogLevel::SUCCESS);
}
public function warning($text) {
drush_log($text, LogLevel::WARNING);
}
public function error($text) {
drush_log($text, LogLevel::ERROR);
}
public function text($text) {
drush_print($text);
}
}