drupal-module-generator/app.php

18 lines
332 B
PHP
Raw Normal View History

<?php
use Opdavies\DrupalModuleGenerator\Command\GenerateDrupal7Command;
use Symfony\Component\Console\Application;
2020-02-09 13:32:21 +00:00
use Symfony\Component\Finder\Finder;
require_once __DIR__.'/vendor/autoload.php';
$app = new Application();
2020-02-09 13:32:21 +00:00
$finder = new Finder();
$app->addCommands([
2020-02-09 13:32:21 +00:00
new GenerateDrupal7Command($finder),
]);
$app->run();