Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     parent::initialize($input, $output);
     if (null === $input->getArgument('branch_name')) {
         $input->setArgument('branch_name', $this->getHelper('git')->getActiveBranchName());
     }
     if (null === $input->getArgument('organization')) {
         $input->setArgument('organization', $this->getParameter($input, 'authentication')['username']);
     }
 }