Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -327,6 +328,10 @@ protected function validateArguments()
*/
protected function showStatamicTitleArt()
{
if ($this->input->hasOption('disable-title')) {
return $this;
}

$this->output->write(PHP_EOL.'<fg=#D4FF4C>
█▀ ▀█▀ ▄▀█ ▀█▀ ▄▀█ █▀▄▀█ █ █▀▀
▄█ ░█░ █▀█ ░█░ █▀█ █░▀░█ █ █▄▄</>'.PHP_EOL.PHP_EOL);
Expand Down
Loading