/**
  * @inheritdoc
  */
 public function run()
 {
     echo "Running '{$this->generator->getName()}'...\n\n";
     if ($this->generator->validate()) {
         $this->generateCode();
     } else {
         $this->displayValidationErrors();
     }
 }