/** * Run tasks * * @throw \Exception * @return void */ public function runTasks() { try { $this->collectInformation(); # Renamer (new \Aijko\Typo3Helper\Task\Renamer\Typo3\RenameContentTask())->execute(Registry::get('targetPath')); $this->cliStdio->outln(''); $this->cliStdio->outln('Finish'); } catch (\Exception $e) { $this->cliStdio->errln($e->getMessage()); } }
/** * @param string $string */ public function errln($string) { $this->stdio->errln("<<red>>{$string}<<reset>>"); }