#!/usr/bin/env php . * */ declare(strict_types=1); use Ampache\Module\Cli\HtaccessCommand; use Ampache\Module\Cli\InstallerCommand; use Psr\Container\ContainerInterface; define('NO_SESSION', '1'); define('OUTDATED_DATABASE_OK', 1); define('CLI', 1); /** @var ContainerInterface $dic */ $dir = require_once __DIR__ . '/../src/Config/Bootstrap.php'; // Init App with name and version $app = new Ahc\Cli\Application( 'Ampache CLI', 'install' ); $app->add($dic->get(InstallerCommand::class)); $app->add($dic->get(HtaccessCommand::class)); $logo = <<logo($logo); $app->handle($_SERVER['argv']);