From 2d49bbaa51a9681326784cd9b4ac75673667d431 Mon Sep 17 00:00:00 2001 From: Jesus Manuel Olivas Date: Mon, 26 Jun 2017 11:09:40 -0700 Subject: [PATCH] [about] Add quick:start and site:new commands. (#176) --- src/Command/AboutCommand.php | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/Command/AboutCommand.php b/src/Command/AboutCommand.php index 5cc8d73..e691eea 100644 --- a/src/Command/AboutCommand.php +++ b/src/Command/AboutCommand.php @@ -50,14 +50,14 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->trans('commands.init.description'), 'drupal init' ], - // 'quick-start' => [ - // $this->trans('commands.common.messages.quick-start'), - // 'drupal quick:start' - // ], - // 'site-new' => [ - // $this->trans('commands.site.new.description'), - // 'drupal site:new' - // ], + 'quick-start' => [ + $this->trans('commands.common.messages.quick-start'), + 'drupal quick:start' + ], + 'site-new' => [ + $this->trans('commands.site.new.description'), + 'drupal site:new' + ], 'site-install' => [ $this->trans('commands.site.install.description'), sprintf( @@ -72,14 +72,11 @@ protected function execute(InputInterface $input, OutputInterface $output) foreach ($commands as $command => $commandInfo) { $io->writeln($commandInfo[0]); - $io->newLine(); - $io->comment(sprintf(' %s', $commandInfo[1])); + $io->comment(sprintf(' %s', $commandInfo[1])); $io->newLine(); } - $io->setDecorated(false); - $io->section($this->trans('commands.self-update.description')); - $io->setDecorated(true); + $io->writeln($this->trans('commands.self-update.description')); $io->comment(' drupal self-update'); $io->newLine(); }