getArgument('one'); $two = $input->getArgument('two'); $multiple = $input->getOption('multiple'); $flip = $input->getOption('flip'); $result = $this->myCat($one, $two, $multiple, $flip); // We could also just use $output->writeln($result) here, // but calling processResults enables the use of output // formatters. Note also that if you use processResults, you // should correctly inject the command processor into your // annotated command via AnnotatedCommand::setCommandProcessor(). return $this->processResults($input, $output, $result); } }