Exemple #1
0
 /**
  * Output error
  *
  * @param string $command
  * @param string $message
  * @return void
  */
 public function doError($command, $message)
 {
     parent::doError($command, $message);
     $this->writeln("Error: ");
     $this->writeln("{$command}: {$message}");
 }
Exemple #2
0
 public function getFrontend()
 {
     $frontend = \Magento\Framework\Connect\Frontend::getInstance('CLI');
     \Magento\Framework\Connect\Command::setFrontendObject($frontend);
     return $frontend;
 }