mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 10:51:21 +03:00
14 lines
357 B
PHP
Executable file
14 lines
357 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
use Shlinkio\Shlink\CLI\Command\Install\UpdateCommand;
|
|
use Symfony\Component\Console\Application;
|
|
use Zend\Config\Writer\PhpArray;
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
$app = new Application();
|
|
$app->add(new UpdateCommand(new PhpArray()));
|
|
$app->setDefaultCommand('shlink:install');
|
|
$app->run();
|