1
0
Fork 0
mirror of https://github.com/shlinkio/shlink.git synced 2025-03-23 10:08:05 +03:00
shlink/bin/install.php

15 lines
359 B
PHP
Raw Normal View History

2016-08-15 09:21:14 +02:00
#!/usr/bin/env php
<?php
use Shlinkio\Shlink\CLI\Command\Install\InstallCommand;
use Symfony\Component\Console\Application;
use Zend\Config\Writer\PhpArray;
chdir(dirname(__DIR__));
require __DIR__ . '/../vendor/autoload.php';
$app = new Application();
$app->add(new InstallCommand(new PhpArray()));
$app->setDefaultCommand('shlink:install');
$app->run();