setName('namespace:name') ->setAliases(array('name')) ->setDescription('description') ->setHelp('help') ; } protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln('execute called'); } protected function interact(InputInterface $input, OutputInterface $output) { $output->writeln('interact called'); } }