mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 03:15:34 +01:00
Rename the bin file
This commit is contained in:
parent
8837836d86
commit
f2e95f2b07
1 changed files with 0 additions and 0 deletions
21
bin/build-configs.php
Normal file
21
bin/build-configs.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
use OliverDaviesLtd\BuildConfiguration\Console\Command\BuildConfigurationCommand;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
use Twig\Environment;
|
||||
use Twig\Loader\FilesystemLoader;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
$filesystem = new Filesystem();
|
||||
$twig = new Environment(new FilesystemLoader([__DIR__.'/../templates']));
|
||||
|
||||
$application = new Application();
|
||||
|
||||
$application->addCommands([
|
||||
new BuildConfigurationCommand($twig, $filesystem),
|
||||
]);
|
||||
|
||||
$application->setDefaultCommand('build-configuration', true);
|
||||
$application->run();
|
Loading…
Add table
Add a link
Reference in a new issue