This repository has been archived on 2025-10-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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();