Skip to content

Commit

Permalink
Add option for bootstrapping new site with Drupal CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
balsama authored Jan 7, 2025
1 parent 2232593 commit 26494ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/App/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ final class NewCommand extends CommandBase
*/
private static array $distros = [
'acquia_drupal_recommended' => 'acquia/drupal-recommended-project',
'acquia_drupal_cms' => 'acquia/drupal-cms-project',
'acquia_next_acms' => 'acquia/next-acms',
];
protected function configure(): void
Expand All @@ -39,6 +40,7 @@ protected function configure(): void
protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->output->writeln('Acquia recommends most customers use <options=bold>acquia/drupal-recommended-project</> to setup a Drupal project, which includes useful utilities such as Acquia Connector.');
$this->output->writeln('<options=bold>acquia/drupal-cms-project</> is Drupal CMS scaffolded to work with Acquia hosting.');

Check warning on line 43 in src/Command/App/NewCommand.php

View workflow job for this annotation

GitHub Actions / Mutation Testing

Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ protected function execute(InputInterface $input, OutputInterface $output) : int { $this->output->writeln('Acquia recommends most customers use <options=bold>acquia/drupal-recommended-project</> to setup a Drupal project, which includes useful utilities such as Acquia Connector.'); - $this->output->writeln('<options=bold>acquia/drupal-cms-project</> is Drupal CMS scaffolded to work with Acquia hosting.'); + $this->output->writeln('<options=bold>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')) { $project = $input->getOption('template');
$this->output->writeln('<options=bold>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')) {
Expand Down

0 comments on commit 26494ec

Please sign in to comment.