Created installation script and installation command

This commit is contained in:
Alejandro Celaya
2016-08-14 09:09:23 +02:00
parent 2b2c0b7c13
commit cffa43a155
3 changed files with 72 additions and 0 deletions

11
bin/install Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env php
<?php
use Shlinkio\Shlink\CLI\Command\Install\InstallCommand;
use Symfony\Component\Console\Application;
require __DIR__ . '/../vendor/autoload.php';
$app = new Application();
$app->add(new InstallCommand());
$app->setDefaultCommand('shlink:install');
$app->run();