Rename app.php to bin/dmg
(Drupal Module Generator)
This commit is contained in:
parent
8a6b3c5e78
commit
20a6a011d9
2 changed files with 3 additions and 2 deletions
bin
20
bin/dmg
Normal file
20
bin/dmg
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use Opdavies\DrupalModuleGenerator\Command\GenerateDrupal7Command;
|
||||
use Opdavies\DrupalModuleGenerator\Service\TestNameConverter;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
require_once __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$app = new Application();
|
||||
|
||||
$finder = new Finder();
|
||||
$testNameConverter = new TestNameConverter();
|
||||
|
||||
$app->addCommands([
|
||||
new GenerateDrupal7Command($finder, $testNameConverter),
|
||||
]);
|
||||
|
||||
$app->run();
|
Loading…
Add table
Add a link
Reference in a new issue