* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/installation Wiki */ if (!file_exists(__DIR__ . '/vendor/autoload.php')) { die("Please run 'composer install' to load dependencies.\n"); } require_once __DIR__ . '/vendor/autoload.php'; require_once __DIR__ . '/module/VuFindConsole/src/VuFindConsole/Command/Install/InstallCommand.php'; $command = new \VuFindConsole\Command\Install\InstallCommand($argv[0]); $application = new \Symfony\Component\Console\Application(); $application->add($command); $application->setDefaultCommand($command->getName(), true); return $application->run();