protected function getProject()
 {
     try {
         $directory = $this->getApplication()->getWorkingDir();
         $project = Project::fromDirectory($directory);
     } catch (\Exception $e) {
         throw new \DomainException('Missing or unreadable manifest file in working directory');
     }
     return $project;
 }