shlink/bin/update
2017-07-03 13:10:16 +02:00

15 lines
381 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();
$command = new UpdateCommand(new PhpArray());
$app->add($command);
$app->setDefaultCommand($command->getName());
$app->run();