X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FCommand%2FPsyVersionCommand.php;fp=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FCommand%2FPsyVersionCommand.php;h=c245e0c5f658755c19bf84b40fdcb11aedbf7f89;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/psy/psysh/src/Psy/Command/PsyVersionCommand.php b/vendor/psy/psysh/src/Psy/Command/PsyVersionCommand.php new file mode 100644 index 000000000..c245e0c5f --- /dev/null +++ b/vendor/psy/psysh/src/Psy/Command/PsyVersionCommand.php @@ -0,0 +1,41 @@ +setName('version') + ->setDefinition(array()) + ->setDescription('Show Psy Shell version.') + ->setHelp('Show Psy Shell version.'); + } + + /** + * {@inheritdoc} + */ + protected function execute(InputInterface $input, OutputInterface $output) + { + $output->writeln($this->getApplication()->getVersion()); + } +}