added empty configuration command and updated the application class to pull it in for display
parent
aedeb0f4e9
commit
ec71674826
|
@ -0,0 +1,35 @@
|
||||||
|
<?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;
|
||||||
|
|
||||||
|
class ConfigCommand extends Command
|
||||||
|
{
|
||||||
|
protected function configure()
|
||||||
|
{
|
||||||
|
$this
|
||||||
|
->setName('config')
|
||||||
|
->setDescription('Manage config settings')
|
||||||
|
->setHelp(<<<EOT
|
||||||
|
|
||||||
|
EOT
|
||||||
|
)
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -155,6 +155,7 @@ class Application extends BaseApplication
|
||||||
{
|
{
|
||||||
$commands = parent::getDefaultCommands();
|
$commands = parent::getDefaultCommands();
|
||||||
$commands[] = new Command\AboutCommand();
|
$commands[] = new Command\AboutCommand();
|
||||||
|
$commands[] = new Command\ConfigCommand();
|
||||||
$commands[] = new Command\DependsCommand();
|
$commands[] = new Command\DependsCommand();
|
||||||
$commands[] = new Command\InitCommand();
|
$commands[] = new Command\InitCommand();
|
||||||
$commands[] = new Command\InstallCommand();
|
$commands[] = new Command\InstallCommand();
|
||||||
|
|
Loading…
Reference in New Issue