From 783a55a8c88d44636cee1cc869341ea1a282a643 Mon Sep 17 00:00:00 2001 From: edalzell Date: Thu, 11 Jun 2026 16:27:18 -0700 Subject: [PATCH] ability to disable title --- src/NewCommand.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 478b52d..3818ba6 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -90,7 +90,8 @@ protected function configure() ->addOption('repo', null, InputOption::VALUE_REQUIRED, 'Optionally specify the name of the GitHub repository') ->addOption('force', 'f', InputOption::VALUE_NONE, 'Force install even if the directory already exists') ->addOption('email', null, InputOption::VALUE_OPTIONAL, 'Creates a super user with this email address') - ->addOption('password', null, InputOption::VALUE_OPTIONAL, 'Password for the super user'); + ->addOption('password', null, InputOption::VALUE_OPTIONAL, 'Password for the super user') + ->addOption('disable-title', null, InputOption::VALUE_NONE, "Don't show title art"); } protected function initialize(InputInterface $input, OutputInterface $output) @@ -327,6 +328,10 @@ protected function validateArguments() */ protected function showStatamicTitleArt() { + if ($this->input->hasOption('disable-title')) { + return $this; + } + $this->output->write(PHP_EOL.' █▀ ▀█▀ ▄▀█ ▀█▀ ▄▀█ █▀▄▀█ █ █▀▀ ▄█ ░█░ █▀█ ░█░ █▀█ █░▀░█ █ █▄▄'.PHP_EOL.PHP_EOL);