/** * Execute set:current * * @param InputInterface $input * @param OutputInterface $outpu * @return void */ protected function execute(InputInterface $input, OutputInterface $output) { if ($input->getOption('online')) { $this->project->setCurrentOnline(); } if ($input->getOption('offline')) { $this->project->setCurrentOffline(); } if ($input->getOption('toggle-popup')) { $this->project->toggleCurrentPopup(); } $this->outputCurrentTable($output, $this->project->current()); }