Skip to content

Commit

Permalink
[about] Add quick:start and site:new commands. (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Jun 26, 2017
1 parent 5d0a646 commit 2d49bba
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/Command/AboutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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();
}
Expand Down

0 comments on commit 2d49bba

Please sign in to comment.