Gush\Command\PullRequest\PullRequestMilestoneListCommand::execute PHP Method

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $adapter = $this->getAdapter();
        $milestones = $adapter->getMilestones();
        $styleHelper = $this->getHelper('gush_style');
        $styleHelper->title(sprintf('Pull request milestones on %s/%s', $input->getOption('org'), $input->getOption('repo')));
        $styleHelper->listing($milestones);
    }
PullRequestMilestoneListCommand