From 86cda8da66cd179a20a436902c9c24e72f1749c6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 9 Nov 2024 19:47:52 +0000 Subject: [PATCH] Add daily email for 2024-11-07 Should Drush be in Drupal core? --- source/_daily_emails/2024-11-07.md | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 source/_daily_emails/2024-11-07.md diff --git a/source/_daily_emails/2024-11-07.md b/source/_daily_emails/2024-11-07.md new file mode 100644 index 00000000..c7656591 --- /dev/null +++ b/source/_daily_emails/2024-11-07.md @@ -0,0 +1,33 @@ +--- +title: Should Drush be in Drupal core? +date: 2024-11-07 +permalink: daily/2024/11/07/should-drush-be-in-drupal-core +tags: + - software-development + - drupal + - drush + - php +cta: ~ +snippet: | + I've used Drush for as long as I've used Drupal, so why isn't it included by default? +drupal_planet: true +--- + +I've used Drush - the Drupal shell - to interact with my Drupal applications on the command line since I started around 2008. + +It's always been part of my Drush experience. + +From installing Drupal and performing routine actions such as enabling modules and clearing caches to, in newer Drupal versions, performing migrations and generating Storybook stories. + +Many projects I work on have custom Drush commands to perform tasks from the command line. + +This week, I created a new Drupal 11 project for a client using the [drupal/core-recommended][0] package and initially forgot to install Drush so I could install Drupal. + +I'm surprised Drush isn't in Drupal core or a dependency of the recommended package. + +There is a basic Drupal CLI at [core/scripts/drupal][1], but I wonder if we'll see a fully-featured CLI tool like Drush included with Drupal core, similar to Symfony's console or Laravel's artisan commands. + +For me, including Drush would be an obvious choice. + +[0]: https://github.com/drupal/core-recommended +[1]: https://git.drupalcode.org/project/drupal/-/blob/94bc96150ca726fc667be51c8176f90b56e492df/core/scripts/drupal