2011-11-07 13:19:15 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Composer.
|
|
|
|
*
|
|
|
|
* (c) Nils Adermann <naderman@naderman.de>
|
|
|
|
* Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Composer\Command;
|
|
|
|
|
|
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
*/
|
2011-11-08 10:51:01 +00:00
|
|
|
class AboutCommand extends Command
|
2011-11-07 13:19:15 +00:00
|
|
|
{
|
|
|
|
protected function configure()
|
|
|
|
{
|
|
|
|
$this
|
2011-11-08 10:51:01 +00:00
|
|
|
->setName('about')
|
|
|
|
->setDescription('Short information about Composer')
|
2011-11-07 13:19:15 +00:00
|
|
|
->setHelp(<<<EOT
|
2011-11-08 10:51:01 +00:00
|
|
|
<info>php composer.phar about</info>
|
2011-11-07 13:19:15 +00:00
|
|
|
EOT
|
|
|
|
)
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
|
|
{
|
|
|
|
$output->writeln(<<<EOT
|
|
|
|
<info>Composer - Package Management for PHP</info>
|
|
|
|
<comment>Composer is a package manager tracking local dependencies of your projects and libraries.
|
2012-03-23 08:07:47 +00:00
|
|
|
See http://getcomposer.org/ for more information.</comment>
|
2011-11-07 13:19:15 +00:00
|
|
|
EOT
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|