Finished custom config command

This commit is contained in:
Alejandro Celaya
2016-08-14 10:30:43 +02:00
parent 56af58fcb8
commit 566ee7ef6f
3 changed files with 198 additions and 22 deletions

View File

@@ -2,10 +2,13 @@
<?php
use Shlinkio\Shlink\CLI\Command\Install\InstallCommand;
use Symfony\Component\Console\Application;
use Zend\Config\Writer\PhpArray;
chdir(dirname(__DIR__) . '/..');
require __DIR__ . '/../vendor/autoload.php';
$app = new Application();
$app->add(new InstallCommand());
$app->add(new InstallCommand(new PhpArray()));
$app->setDefaultCommand('shlink:install');
$app->run();