Ensure that the directory doesn't already exist

This commit is contained in:
Oliver Davies 2020-02-09 12:11:20 +00:00
parent d17c1defcf
commit 0ece90c6cf
7 changed files with 217 additions and 4 deletions

14
app.php Normal file
View file

@ -0,0 +1,14 @@
<?php
use Opdavies\DrupalModuleGenerator\Command\GenerateDrupal7Command;
use Symfony\Component\Console\Application;
require_once __DIR__.'/vendor/autoload.php';
$app = new Application();
$app->addCommands([
new GenerateDrupal7Command(),
]);
$app->run();