/**
  * @return bool
  */
 private function getDebugOption()
 {
     if ($this->consoleIO->getInput() && $this->consoleIO->getInput()->hasOption(CO::DEBUG)) {
         return $this->consoleIO->getInput()->getOption(CO::DEBUG);
     } else {
         return FALSE;
     }
 }
 /**
  * @param string $destination
  */
 private function cleanDestinationWithCaution($destination)
 {
     if (!$this->fileSystem->isDirEmpty($destination)) {
         if ($this->io->ask('Destination is not empty. Do you want to erase it?', TRUE)) {
             $this->fileSystem->purgeDir($destination);
         }
     }
 }
 public function onRun(InputInterface $input, OutputInterface $output)
 {
     $this->consoleIO->setInput($input);
     $this->consoleIO->setOutput($output);
 }