jeyroik/extas-config-php

View on GitHub
src/bin/extas-cfg-php

Summary

Maintainability
Test Coverage
#!/usr/bin/php
<?php
require getcwd() . '/vendor/autoload.php';

$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();

use Symfony\Component\Console\Application;

$application = new Application();
$application->setName(PHP_EOL . ' Extas Config Generator');
$application->setVersion('1.0');
$application->add(new extas\components\commands\GenerateCommand());
$application->run();