4 * This file is part of Psy Shell.
6 * (c) 2012-2017 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Psy\Command;
14 use Symfony\Component\Console\Input\InputInterface;
15 use Symfony\Component\Console\Output\OutputInterface;
18 * A dumb little command for printing out the current Psy Shell version.
20 class PsyVersionCommand extends Command
25 protected function configure()
29 ->setDefinition(array())
30 ->setDescription('Show Psy Shell version.')
31 ->setHelp('Show Psy Shell version.');
37 protected function execute(InputInterface $input, OutputInterface $output)
39 $output->writeln($this->getApplication()->getVersion());