From 88147ec4e52e4a60ef322122a7a3292ad8011f64 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 9 Feb 2020 21:49:34 +0000 Subject: [PATCH] Add D7 aliases --- src/Command/GenerateDrupal7Command.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Command/GenerateDrupal7Command.php b/src/Command/GenerateDrupal7Command.php index c5b0fa9..76e4b76 100644 --- a/src/Command/GenerateDrupal7Command.php +++ b/src/Command/GenerateDrupal7Command.php @@ -49,8 +49,10 @@ final class GenerateDrupal7Command extends Command protected function configure() { $this - ->setDescription('Generate a new Drupal 7 module.') - ->addArgument('module-name', InputArgument::REQUIRED, 'The name of the module to create'); + ->setDescription('Generate a new Drupal 7 module') + ->addArgument('module-name', InputArgument::REQUIRED, 'The name of the module to create') + ->setAliases(['d7', 'drupal7']) + ; } /**