mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-28 09:51:40 -06:00
17 lines
446 B
PHP
Executable File
17 lines
446 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
use Shlinkio\Shlink\CLI\Command\Install\InstallCommand;
|
|
use Symfony\Component\Console\Application;
|
|
use Symfony\Component\Filesystem\Filesystem;
|
|
use Zend\Config\Writer\PhpArray;
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
$app = new Application();
|
|
$command = new InstallCommand(new PhpArray(), new Filesystem());
|
|
$app->add($command);
|
|
$app->setDefaultCommand($command->getName());
|
|
$app->run();
|