Sha256: c73837f0afdc8923e6305d1d3df4c78783c7e65043759398a089888906cfc9db

Contents?: true

Size: 1.13 KB

Versions: 41

Compression:

Stored size: 1.13 KB

Contents

<?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>
 */
class AboutCommand extends BaseCommand
{
    protected function configure()
    {
        $this
            ->setName('about')
            ->setDescription('Shows the short information about Composer.')
            ->setHelp(
                <<<EOT
<info>php composer.phar about</info>
EOT
            )
        ;
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->getIO()->write(
            <<<EOT
<info>Composer - Dependency Manager for PHP</info>
<comment>Composer is a dependency manager tracking local dependencies of your projects and libraries.
See https://getcomposer.org/ for more information.</comment>
EOT
        );
    }
}

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
dependabot-composer-0.113.19 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.112.1 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.57 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.56 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.52 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.50 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.25 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.17 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.111.15 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.110.13 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.108.11 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.108.8 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.107.47 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.107.39 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.107.36 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.107.28 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.107.14 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.106.12 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.106.11 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php
dependabot-composer-0.106.5 helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php