shlink/bin/install

15 lines
401 B
Text
Raw Normal View History

#!/usr/bin/env php
<?php
use Shlinkio\Shlink\CLI\Factory\InstallApplicationFactory;
use Symfony\Component\Console\Application;
use Zend\ServiceManager\ServiceManager;
2016-08-14 11:30:43 +03:00
chdir(dirname(__DIR__));
require __DIR__ . '/../vendor/autoload.php';
$container = new ServiceManager(['factories' => [
Application::class => InstallApplicationFactory::class,
]]);
$container->build(Application::class)->run();