Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / scripts / drupal
diff --git a/web/core/scripts/drupal b/web/core/scripts/drupal
new file mode 100644 (file)
index 0000000..7f71228
--- /dev/null
@@ -0,0 +1,26 @@
+#!/usr/bin/env php
+<?php
+
+/**
+ * @file
+ * Provides CLI commands for Drupal.
+ */
+
+use Drupal\Core\Command\QuickStartCommand;
+use Drupal\Core\Command\InstallCommand;
+use Drupal\Core\Command\ServerCommand;
+use Symfony\Component\Console\Application;
+
+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();