shlink/bin/update

15 lines
357 B
Text
Raw Normal View History

2016-08-15 10:21:14 +03:00
#!/usr/bin/env php
<?php
use Shlinkio\Shlink\CLI\Command\Install\UpdateCommand;
2016-08-15 10:21:14 +03:00
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()));
2016-08-15 10:21:14 +03:00
$app->setDefaultCommand('shlink:install');
$app->run();