shlink/bin/update

12 lines
364 B
PHP
Executable file

#!/usr/bin/env php
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\Installer;
use Symfony\Component\Console\Application;
use Zend\ServiceManager\ServiceLocatorInterface;
/** @var ServiceLocatorInterface $container */
$container = include __DIR__ . '/../config/install-container.php';
$container->build(Application::class, ['isUpdate' => true])->run();