public function interact(InputInterface $input, OutputInterface $output) { $available_art = $this->availableArt(); $io = new SymfonyStyle($input, $output); $art_name = $input->getArgument('name'); if (!$art_name) { $io->title('Available Art'); $io->listing($available_art); } }