set-option 328 B

1234567891011121314
  1. #!/usr/bin/env php
  2. <?php
  3. declare(strict_types=1);
  4. namespace Shlinkio\Shlink;
  5. use Shlinkio\Shlink\Installer\Command\SetOptionCommand;
  6. use function chdir;
  7. use function dirname;
  8. chdir(dirname(__DIR__));
  9. [,, $installer] = require __DIR__ . '/../vendor/shlinkio/shlink-installer/bin/run.php';
  10. $installer(SetOptionCommand::NAME);