Exemplo n.º 1
0
 /**
  * @{inheritdoc}
  */
 protected function getDefaultCommands()
 {
     $commands = parent::getDefaultCommands();
     if ('@' . 'git-version@' !== $this->getVersion()) {
         $command = new Amend\Command('core:update');
         $command->setAliases(['self-update']);
         $command->setManifestUri('@manifest_url@');
         $commands[] = $command;
     }
     return $commands;
 }