setBasePath('Doctrine', __DIR__ . '/../../lib'); $cli = new \Doctrine\ORM\Tools\Cli(); $cli->run($_SERVER['argv']);