diff --git a/src/Command/App/NewCommand.php b/src/Command/App/NewCommand.php index 285ee9d0f..4fae1a24b 100644 --- a/src/Command/App/NewCommand.php +++ b/src/Command/App/NewCommand.php @@ -22,6 +22,7 @@ final class NewCommand extends CommandBase * @var string[] */ private static array $distros = [ + 'acquia_drupal_cms' => 'acquia/drupal-cms-project', 'acquia_drupal_recommended' => 'acquia/drupal-recommended-project', 'acquia_next_acms' => 'acquia/next-acms', ]; @@ -39,6 +40,7 @@ protected function configure(): void protected function execute(InputInterface $input, OutputInterface $output): int { $this->output->writeln('Acquia recommends most customers use acquia/drupal-recommended-project to setup a Drupal project, which includes useful utilities such as Acquia Connector.'); + $this->output->writeln('acquia/drupal-cms-project is Drupal CMS scaffolded to work with Acquia hosting.'); $this->output->writeln('acquia/next-acms is a starter template for building a headless site powered by Acquia CMS and Next.js.'); if ($input->hasOption('template') && $input->getOption('template')) { diff --git a/tests/phpunit/src/Commands/App/NewCommandTest.php b/tests/phpunit/src/Commands/App/NewCommandTest.php index 41b371be0..1c947f7f4 100644 --- a/tests/phpunit/src/Commands/App/NewCommandTest.php +++ b/tests/phpunit/src/Commands/App/NewCommandTest.php @@ -91,6 +91,7 @@ public function testNewDrupalCommand(array $package, string $directory = 'drupal $output = $this->getDisplay(); $this->assertStringContainsString('Acquia recommends most customers use acquia/drupal-recommended-project to setup a Drupal project', $output); + $this->assertStringContainsString('acquia/drupal-cms-project is Drupal CMS scaffolded to work with Acquia hosting.', $output); $this->assertStringContainsString('Choose a starting project', $output); $this->assertStringContainsString($project, $output); $this->assertTrue($mockFileSystem->isAbsolutePath($this->newProjectDir), 'Directory path is not absolute');