#!/usr/bin/env php
<?php
/**
* @file
* Provides CLI commands for Drupal.
*/
use DrupalCoreCommandQuickStartCommand;
use DrupalCoreCommandInstallCommand;
use DrupalCoreCommandServerCommand;
use SymfonyComponentConsoleApplication;
if (PHP_SAPI !== 'cli') {
return;
}
$classloader = require_once __DIR__ . '/../../autoload.php';
$application = new Application('drupal', Drupal::VERSION);
$application->add(new QuickStartCommand());
$application->add(new InstallCommand($classloader));
$application->add(new ServerCommand($classloader));
$application->run();