First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
11
vendor/symfony/console/Tests/Fixtures/BarBucCommand.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/BarBucCommand.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class BarBucCommand extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('bar:buc');
|
||||
}
|
||||
}
|
18
vendor/symfony/console/Tests/Fixtures/DescriptorApplication1.php
vendored
Normal file
18
vendor/symfony/console/Tests/Fixtures/DescriptorApplication1.php
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
class DescriptorApplication1 extends Application
|
||||
{
|
||||
}
|
26
vendor/symfony/console/Tests/Fixtures/DescriptorApplication2.php
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/DescriptorApplication2.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
class DescriptorApplication2 extends Application
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('My Symfony application', 'v1.0');
|
||||
$this->add(new DescriptorCommand1());
|
||||
$this->add(new DescriptorCommand2());
|
||||
$this->add(new DescriptorCommand3());
|
||||
$this->add(new DescriptorCommand4());
|
||||
}
|
||||
}
|
24
vendor/symfony/console/Tests/Fixtures/DescriptorApplicationMbString.php
vendored
Normal file
24
vendor/symfony/console/Tests/Fixtures/DescriptorApplicationMbString.php
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
class DescriptorApplicationMbString extends Application
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('MbString åpplicätion');
|
||||
|
||||
$this->add(new DescriptorCommandMbString());
|
||||
}
|
||||
}
|
27
vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php
vendored
Normal file
27
vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class DescriptorCommand1 extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('descriptor:command1')
|
||||
->setAliases(array('alias1', 'alias2'))
|
||||
->setDescription('command 1 description')
|
||||
->setHelp('command 1 help')
|
||||
;
|
||||
}
|
||||
}
|
32
vendor/symfony/console/Tests/Fixtures/DescriptorCommand2.php
vendored
Normal file
32
vendor/symfony/console/Tests/Fixtures/DescriptorCommand2.php
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
||||
class DescriptorCommand2 extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('descriptor:command2')
|
||||
->setDescription('command 2 description')
|
||||
->setHelp('command 2 help')
|
||||
->addUsage('-o|--option_name <argument_name>')
|
||||
->addUsage('<argument_name>')
|
||||
->addArgument('argument_name', InputArgument::REQUIRED)
|
||||
->addOption('option_name', 'o', InputOption::VALUE_NONE)
|
||||
;
|
||||
}
|
||||
}
|
27
vendor/symfony/console/Tests/Fixtures/DescriptorCommand3.php
vendored
Normal file
27
vendor/symfony/console/Tests/Fixtures/DescriptorCommand3.php
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class DescriptorCommand3 extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('descriptor:command3')
|
||||
->setDescription('command 3 description')
|
||||
->setHelp('command 3 help')
|
||||
->setHidden(true)
|
||||
;
|
||||
}
|
||||
}
|
25
vendor/symfony/console/Tests/Fixtures/DescriptorCommand4.php
vendored
Normal file
25
vendor/symfony/console/Tests/Fixtures/DescriptorCommand4.php
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class DescriptorCommand4 extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('descriptor:command4')
|
||||
->setAliases(array('descriptor:alias_command4', 'command4:descriptor'))
|
||||
;
|
||||
}
|
||||
}
|
32
vendor/symfony/console/Tests/Fixtures/DescriptorCommandMbString.php
vendored
Normal file
32
vendor/symfony/console/Tests/Fixtures/DescriptorCommandMbString.php
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
||||
class DescriptorCommandMbString extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('descriptor:åèä')
|
||||
->setDescription('command åèä description')
|
||||
->setHelp('command åèä help')
|
||||
->addUsage('-o|--option_name <argument_name>')
|
||||
->addUsage('<argument_name>')
|
||||
->addArgument('argument_åèä', InputArgument::REQUIRED)
|
||||
->addOption('option_åèä', 'o', InputOption::VALUE_NONE)
|
||||
;
|
||||
}
|
||||
}
|
36
vendor/symfony/console/Tests/Fixtures/DummyOutput.php
vendored
Normal file
36
vendor/symfony/console/Tests/Fixtures/DummyOutput.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Console\Tests\Fixtures;
|
||||
|
||||
use Symfony\Component\Console\Output\BufferedOutput;
|
||||
|
||||
/**
|
||||
* Dummy output.
|
||||
*
|
||||
* @author Kévin Dunglas <dunglas@gmail.com>
|
||||
*/
|
||||
class DummyOutput extends BufferedOutput
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getLogs()
|
||||
{
|
||||
$logs = array();
|
||||
foreach (explode(PHP_EOL, trim($this->fetch())) as $message) {
|
||||
preg_match('/^\[(.*)\] (.*)/', $message, $matches);
|
||||
$logs[] = sprintf('%s %s', $matches[1], $matches[2]);
|
||||
}
|
||||
|
||||
return $logs;
|
||||
}
|
||||
}
|
26
vendor/symfony/console/Tests/Fixtures/Foo1Command.php
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/Foo1Command.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class Foo1Command extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:bar1')
|
||||
->setDescription('The foo:bar1 command')
|
||||
->setAliases(array('afoobar1'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
}
|
||||
}
|
21
vendor/symfony/console/Tests/Fixtures/Foo2Command.php
vendored
Normal file
21
vendor/symfony/console/Tests/Fixtures/Foo2Command.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class Foo2Command extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo1:bar')
|
||||
->setDescription('The foo1:bar command')
|
||||
->setAliases(array('afoobar2'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
}
|
||||
}
|
29
vendor/symfony/console/Tests/Fixtures/Foo3Command.php
vendored
Normal file
29
vendor/symfony/console/Tests/Fixtures/Foo3Command.php
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class Foo3Command extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo3:bar')
|
||||
->setDescription('The foo3:bar command')
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
try {
|
||||
try {
|
||||
throw new \Exception('First exception <p>this is html</p>');
|
||||
} catch (\Exception $e) {
|
||||
throw new \Exception('Second exception <comment>comment</comment>', 0, $e);
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
throw new \Exception('Third exception <fg=blue;bg=red>comment</>', 404, $e);
|
||||
}
|
||||
}
|
||||
}
|
11
vendor/symfony/console/Tests/Fixtures/Foo4Command.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/Foo4Command.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class Foo4Command extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('foo3:bar:toh');
|
||||
}
|
||||
}
|
10
vendor/symfony/console/Tests/Fixtures/Foo5Command.php
vendored
Normal file
10
vendor/symfony/console/Tests/Fixtures/Foo5Command.php
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class Foo5Command extends Command
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
}
|
12
vendor/symfony/console/Tests/Fixtures/Foo6Command.php
vendored
Normal file
12
vendor/symfony/console/Tests/Fixtures/Foo6Command.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class Foo6Command extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('0foo:bar')->setDescription('0foo:bar command');
|
||||
}
|
||||
}
|
33
vendor/symfony/console/Tests/Fixtures/FooCommand.php
vendored
Normal file
33
vendor/symfony/console/Tests/Fixtures/FooCommand.php
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooCommand extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:bar')
|
||||
->setDescription('The foo:bar command')
|
||||
->setAliases(array('afoobar'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function interact(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->writeln('interact called');
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
|
||||
$output->writeln('called');
|
||||
}
|
||||
}
|
28
vendor/symfony/console/Tests/Fixtures/FooLock2Command.php
vendored
Normal file
28
vendor/symfony/console/Tests/Fixtures/FooLock2Command.php
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Command\LockableTrait;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooLock2Command extends Command
|
||||
{
|
||||
use LockableTrait;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('foo:lock2');
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
try {
|
||||
$this->lock();
|
||||
$this->lock();
|
||||
} catch (LogicException $e) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 2;
|
||||
}
|
||||
}
|
27
vendor/symfony/console/Tests/Fixtures/FooLockCommand.php
vendored
Normal file
27
vendor/symfony/console/Tests/Fixtures/FooLockCommand.php
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Command\LockableTrait;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooLockCommand extends Command
|
||||
{
|
||||
use LockableTrait;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('foo:lock');
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
if (!$this->lock()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
$this->release();
|
||||
|
||||
return 2;
|
||||
}
|
||||
}
|
36
vendor/symfony/console/Tests/Fixtures/FooOptCommand.php
vendored
Normal file
36
vendor/symfony/console/Tests/Fixtures/FooOptCommand.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooOptCommand extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:bar')
|
||||
->setDescription('The foo:bar command')
|
||||
->setAliases(array('afoobar'))
|
||||
->addOption('fooopt', 'fo', InputOption::VALUE_OPTIONAL, 'fooopt description')
|
||||
;
|
||||
}
|
||||
|
||||
protected function interact(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->writeln('interact called');
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
|
||||
$output->writeln('called');
|
||||
$output->writeln($this->input->getOption('fooopt'));
|
||||
}
|
||||
}
|
11
vendor/symfony/console/Tests/Fixtures/FooSameCaseLowercaseCommand.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/FooSameCaseLowercaseCommand.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class FooSameCaseLowercaseCommand extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('foo:bar')->setDescription('foo:bar command');
|
||||
}
|
||||
}
|
11
vendor/symfony/console/Tests/Fixtures/FooSameCaseUppercaseCommand.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/FooSameCaseUppercaseCommand.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
||||
class FooSameCaseUppercaseCommand extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('foo:BAR')->setDescription('foo:BAR command');
|
||||
}
|
||||
}
|
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooSubnamespaced1Command extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:bar:baz')
|
||||
->setDescription('The foo:bar:baz command')
|
||||
->setAliases(array('foobarbaz'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
}
|
||||
}
|
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FooSubnamespaced2Command extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo:go:bret')
|
||||
->setDescription('The foo:bar:go command')
|
||||
->setAliases(array('foobargo'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
}
|
||||
}
|
25
vendor/symfony/console/Tests/Fixtures/FoobarCommand.php
vendored
Normal file
25
vendor/symfony/console/Tests/Fixtures/FoobarCommand.php
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class FoobarCommand extends Command
|
||||
{
|
||||
public $input;
|
||||
public $output;
|
||||
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foobar:foo')
|
||||
->setDescription('The foobar:foo command')
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->input = $input;
|
||||
$this->output = $output;
|
||||
}
|
||||
}
|
11
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_0.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_0.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has single blank line at start when using block element
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->caution('Lorem ipsum dolor sit amet');
|
||||
};
|
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_1.php
vendored
Normal file
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_1.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has single blank line between titles and blocks
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->title('Title');
|
||||
$output->warning('Lorem ipsum dolor sit amet');
|
||||
$output->title('Title');
|
||||
};
|
17
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php
vendored
Normal file
17
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure that all lines are aligned to the begin of the first line in a very long line block
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->block(
|
||||
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
|
||||
'CUSTOM',
|
||||
'fg=white;bg=green',
|
||||
'X ',
|
||||
true
|
||||
);
|
||||
};
|
12
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php
vendored
Normal file
12
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure long words are properly wrapped in blocks
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$word = 'Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon';
|
||||
$sfStyle = new SymfonyStyle($input, $output);
|
||||
$sfStyle->block($word, 'CUSTOM', 'fg=white;bg=blue', ' § ', false);
|
||||
};
|
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_12.php
vendored
Normal file
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_12.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure that all lines are aligned to the begin of the first one and start with '//' in a very long line comment
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->comment(
|
||||
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum'
|
||||
);
|
||||
};
|
14
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php
vendored
Normal file
14
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure that nested tags have no effect on the color of the '//' prefix
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output->setDecorated(true);
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->comment(
|
||||
'Lorem ipsum dolor sit <comment>amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</comment> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum'
|
||||
);
|
||||
};
|
17
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php
vendored
Normal file
17
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure that block() behaves properly with a prefix and without type
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->block(
|
||||
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
|
||||
null,
|
||||
null,
|
||||
'$ ',
|
||||
true
|
||||
);
|
||||
};
|
14
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php
vendored
Normal file
14
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure that block() behaves properly with a type and without prefix
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->block(
|
||||
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
|
||||
'TEST'
|
||||
);
|
||||
};
|
15
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_16.php
vendored
Normal file
15
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_16.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
// ensure that block() output is properly formatted (even padding lines)
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output->setDecorated(true);
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->success(
|
||||
'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
|
||||
'TEST'
|
||||
);
|
||||
};
|
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php
vendored
Normal file
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure symfony style helper methods handle trailing backslashes properly when decorating user texts
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
|
||||
$output->title('Title ending with \\');
|
||||
$output->section('Section ending with \\');
|
||||
};
|
16
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_2.php
vendored
Normal file
16
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_2.php
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has single blank line between blocks
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->warning('Warning');
|
||||
$output->caution('Caution');
|
||||
$output->error('Error');
|
||||
$output->success('Success');
|
||||
$output->note('Note');
|
||||
$output->block('Custom block', 'CUSTOM', 'fg=white;bg=green', 'X ', true);
|
||||
};
|
12
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php
vendored
Normal file
12
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has single blank line between two titles
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->title('First title');
|
||||
$output->title('Second title');
|
||||
};
|
34
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4.php
vendored
Normal file
34
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4.php
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has single blank line after any text and a title
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->title('First title');
|
||||
|
||||
$output->writeln('Lorem ipsum dolor sit amet');
|
||||
$output->title('Second title');
|
||||
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->write('');
|
||||
$output->title('Third title');
|
||||
|
||||
//Ensure edge case by appending empty strings to history:
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->write(array('', '', ''));
|
||||
$output->title('Fourth title');
|
||||
|
||||
//Ensure have manual control over number of blank lines:
|
||||
$output->writeln('Lorem ipsum dolor sit amet');
|
||||
$output->writeln(array('', '')); //Should append an extra blank line
|
||||
$output->title('Fifth title');
|
||||
|
||||
$output->writeln('Lorem ipsum dolor sit amet');
|
||||
$output->newLine(2); //Should append an extra blank line
|
||||
$output->title('Fifth title');
|
||||
};
|
37
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_5.php
vendored
Normal file
37
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_5.php
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has proper line ending before outputting a text block like with SymfonyStyle::listing() or SymfonyStyle::text()
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
|
||||
$output->writeln('Lorem ipsum dolor sit amet');
|
||||
$output->listing(array(
|
||||
'Lorem ipsum dolor sit amet',
|
||||
'consectetur adipiscing elit',
|
||||
));
|
||||
|
||||
//Even using write:
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->listing(array(
|
||||
'Lorem ipsum dolor sit amet',
|
||||
'consectetur adipiscing elit',
|
||||
));
|
||||
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->text(array(
|
||||
'Lorem ipsum dolor sit amet',
|
||||
'consectetur adipiscing elit',
|
||||
));
|
||||
|
||||
$output->newLine();
|
||||
|
||||
$output->write('Lorem ipsum dolor sit amet');
|
||||
$output->comment(array(
|
||||
'Lorem ipsum dolor sit amet',
|
||||
'consectetur adipiscing elit',
|
||||
));
|
||||
};
|
16
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_6.php
vendored
Normal file
16
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_6.php
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure has proper blank line after text block when using a block like with SymfonyStyle::success
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
|
||||
$output->listing(array(
|
||||
'Lorem ipsum dolor sit amet',
|
||||
'consectetur adipiscing elit',
|
||||
));
|
||||
$output->success('Lorem ipsum dolor sit amet');
|
||||
};
|
15
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_7.php
vendored
Normal file
15
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_7.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure questions do not output anything when input is non-interactive
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->title('Title');
|
||||
$output->askHidden('Hidden question');
|
||||
$output->choice('Choice question with default', array('choice1', 'choice2'), 'choice1');
|
||||
$output->confirm('Confirmation with yes default', true);
|
||||
$output->text('Duis aute irure dolor in reprehenderit in voluptate velit esse');
|
||||
};
|
26
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Symfony\Component\Console\Helper\TableCell;
|
||||
|
||||
//Ensure formatting tables when using multiple headers with TableCell
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$headers = array(
|
||||
array(new TableCell('Main table title', array('colspan' => 3))),
|
||||
array('ISBN', 'Title', 'Author'),
|
||||
);
|
||||
|
||||
$rows = array(
|
||||
array(
|
||||
'978-0521567817',
|
||||
'De Monarchia',
|
||||
new TableCell("Dante Alighieri\nspans multiple rows", array('rowspan' => 2)),
|
||||
),
|
||||
array('978-0804169127', 'Divine Comedy'),
|
||||
);
|
||||
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->table($headers, $rows);
|
||||
};
|
11
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure that all lines are aligned to the begin of the first line in a multi-line block
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$output->block(array('Custom block', 'Second custom block line'), 'CUSTOM', 'fg=white;bg=green', 'X ', true);
|
||||
};
|
19
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php
vendored
Normal file
19
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
//Ensure that questions have the expected outputs
|
||||
return function (InputInterface $input, OutputInterface $output) {
|
||||
$output = new SymfonyStyle($input, $output);
|
||||
$stream = fopen('php://memory', 'r+', false);
|
||||
|
||||
fwrite($stream, "Foo\nBar\nBaz");
|
||||
rewind($stream);
|
||||
$input->setStream($stream);
|
||||
|
||||
$output->ask('What\'s your name?');
|
||||
$output->ask('How are you?');
|
||||
$output->ask('Where do you come from?');
|
||||
};
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/interactive_output_1.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/interactive_output_1.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
What's your name?:
|
||||
>
|
||||
How are you?:
|
||||
>
|
||||
Where do you come from?:
|
||||
>
|
3
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_0.txt
vendored
Normal file
3
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_0.txt
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
! [CAUTION] Lorem ipsum dolor sit amet
|
||||
|
9
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_1.txt
vendored
Normal file
9
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_1.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
Title
|
||||
=====
|
||||
|
||||
[WARNING] Lorem ipsum dolor sit amet
|
||||
|
||||
Title
|
||||
=====
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
X [CUSTOM] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
|
||||
X dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
||||
X commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
||||
X nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
|
||||
X anim id est laborum
|
||||
|
4
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_11.txt
vendored
Normal file
4
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_11.txt
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
§ [CUSTOM] Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophatto
|
||||
§ peristeralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon
|
||||
|
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt
vendored
Normal file
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
// Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
|
||||
// aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
// Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
|
||||
// sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
[39;49m // [39;49mLorem ipsum dolor sit [33mamet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et [39m
|
||||
[39;49m // [39;49m[33mdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea [39m
|
||||
[39;49m // [39;49m[33mcommodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla [39m
|
||||
[39;49m // [39;49m[33mpariatur.[39m Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
|
||||
[39;49m // [39;49mid est laborum
|
||||
|
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt
vendored
Normal file
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
$ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
|
||||
$ aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
$ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
|
||||
$ occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
[TEST] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
|
||||
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
||||
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
|
||||
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
|
||||
laborum
|
||||
|
8
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt
vendored
Normal file
8
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
[30;42m [39;49m
|
||||
[30;42m [OK] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore [39;49m
|
||||
[30;42m magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo [39;49m
|
||||
[30;42m consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. [39;49m
|
||||
[30;42m Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum [39;49m
|
||||
[30;42m [39;49m
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_17.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_17.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
Title ending with \
|
||||
===================
|
||||
|
||||
Section ending with \
|
||||
---------------------
|
||||
|
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_2.txt
vendored
Normal file
13
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_2.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
[WARNING] Warning
|
||||
|
||||
! [CAUTION] Caution
|
||||
|
||||
[ERROR] Error
|
||||
|
||||
[OK] Success
|
||||
|
||||
! [NOTE] Note
|
||||
|
||||
X [CUSTOM] Custom block
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_3.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_3.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
First title
|
||||
===========
|
||||
|
||||
Second title
|
||||
============
|
||||
|
32
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4.txt
vendored
Normal file
32
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4.txt
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
Lorem ipsum dolor sit amet
|
||||
|
||||
First title
|
||||
===========
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
Second title
|
||||
============
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
Third title
|
||||
===========
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
Fourth title
|
||||
============
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
|
||||
Fifth title
|
||||
===========
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
|
||||
Fifth title
|
||||
===========
|
||||
|
18
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt
vendored
Normal file
18
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
Lorem ipsum dolor sit amet
|
||||
* Lorem ipsum dolor sit amet
|
||||
* consectetur adipiscing elit
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
* Lorem ipsum dolor sit amet
|
||||
* consectetur adipiscing elit
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
Lorem ipsum dolor sit amet
|
||||
consectetur adipiscing elit
|
||||
|
||||
Lorem ipsum dolor sit amet
|
||||
|
||||
// Lorem ipsum dolor sit amet
|
||||
//
|
||||
// consectetur adipiscing elit
|
||||
|
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt
vendored
Normal file
6
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
* Lorem ipsum dolor sit amet
|
||||
* consectetur adipiscing elit
|
||||
|
||||
[OK] Lorem ipsum dolor sit amet
|
||||
|
5
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_7.txt
vendored
Normal file
5
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_7.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
Title
|
||||
=====
|
||||
|
||||
Duis aute irure dolor in reprehenderit in voluptate velit esse
|
9
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt
vendored
Normal file
9
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
---------------- --------------- ---------------------
|
||||
Main table title
|
||||
---------------- --------------- ---------------------
|
||||
ISBN Title Author
|
||||
---------------- --------------- ---------------------
|
||||
978-0521567817 De Monarchia Dante Alighieri
|
||||
978-0804169127 Divine Comedy spans multiple rows
|
||||
---------------- --------------- ---------------------
|
||||
|
5
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_9.txt
vendored
Normal file
5
vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_9.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
X [CUSTOM] Custom block
|
||||
X
|
||||
X Second custom block line
|
||||
|
28
vendor/symfony/console/Tests/Fixtures/TestCommand.php
vendored
Normal file
28
vendor/symfony/console/Tests/Fixtures/TestCommand.php
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class TestCommand extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('namespace:name')
|
||||
->setAliases(array('name'))
|
||||
->setDescription('description')
|
||||
->setHelp('help')
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->writeln('execute called');
|
||||
}
|
||||
|
||||
protected function interact(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->writeln('interact called');
|
||||
}
|
||||
}
|
21
vendor/symfony/console/Tests/Fixtures/TestTiti.php
vendored
Normal file
21
vendor/symfony/console/Tests/Fixtures/TestTiti.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class TestTiti extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('test-titi')
|
||||
->setDescription('The test:titi command')
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->write('test-titi');
|
||||
}
|
||||
}
|
22
vendor/symfony/console/Tests/Fixtures/TestToto.php
vendored
Normal file
22
vendor/symfony/console/Tests/Fixtures/TestToto.php
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class TestToto extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('test-toto')
|
||||
->setDescription('The test-toto command')
|
||||
->setAliases(array('test'))
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->write('test-toto');
|
||||
}
|
||||
}
|
156
vendor/symfony/console/Tests/Fixtures/application_1.json
vendored
Normal file
156
vendor/symfony/console/Tests/Fixtures/application_1.json
vendored
Normal file
|
@ -0,0 +1,156 @@
|
|||
{
|
||||
"commands": [
|
||||
{
|
||||
"name": "help",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"help [--format FORMAT] [--raw] [--] [<command_name>]"
|
||||
],
|
||||
"description": "Displays help for a command",
|
||||
"help": "The <info>help<\/info> command displays help for a given command:\n\n <info>php app\/console help list<\/info>\n\nYou can also output the help in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console help --format=xml list<\/info>\n\nTo display the list of available commands, please use the <info>list<\/info> command.",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"command_name": {
|
||||
"name": "command_name",
|
||||
"is_required": false,
|
||||
"is_array": false,
|
||||
"description": "The command name",
|
||||
"default": "help"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"format": {
|
||||
"name": "--format",
|
||||
"shortcut": "",
|
||||
"accept_value": true,
|
||||
"is_value_required": true,
|
||||
"is_multiple": false,
|
||||
"description": "The output format (txt, xml, json, or md)",
|
||||
"default": "txt"
|
||||
},
|
||||
"raw": {
|
||||
"name": "--raw",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "To output raw command help",
|
||||
"default": false
|
||||
},
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "list",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"list [--raw] [--format FORMAT] [--] [<namespace>]"
|
||||
],
|
||||
"description": "Lists commands",
|
||||
"help": "The <info>list<\/info> command lists all commands:\n\n <info>php app\/console list<\/info>\n\nYou can also display the commands for a specific namespace:\n\n <info>php app\/console list test<\/info>\n\nYou can also output the information in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console list --format=xml<\/info>\n\nIt's also possible to get raw list of commands (useful for embedding command runner):\n\n <info>php app\/console list --raw<\/info>",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"namespace": {
|
||||
"name": "namespace",
|
||||
"is_required": false,
|
||||
"is_array": false,
|
||||
"description": "The namespace name",
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"raw": {
|
||||
"name": "--raw",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "To output raw command list",
|
||||
"default": false
|
||||
},
|
||||
"format": {
|
||||
"name": "--format",
|
||||
"shortcut": "",
|
||||
"accept_value": true,
|
||||
"is_value_required": true,
|
||||
"is_multiple": false,
|
||||
"description": "The output format (txt, xml, json, or md)",
|
||||
"default": "txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"namespaces": [
|
||||
{
|
||||
"id": "_global",
|
||||
"commands": [
|
||||
"help",
|
||||
"list"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
172
vendor/symfony/console/Tests/Fixtures/application_1.md
vendored
Normal file
172
vendor/symfony/console/Tests/Fixtures/application_1.md
vendored
Normal file
|
@ -0,0 +1,172 @@
|
|||
Console Tool
|
||||
============
|
||||
|
||||
* [`help`](#help)
|
||||
* [`list`](#list)
|
||||
|
||||
`help`
|
||||
------
|
||||
|
||||
Displays help for a command
|
||||
|
||||
### Usage
|
||||
|
||||
* `help [--format FORMAT] [--raw] [--] [<command_name>]`
|
||||
|
||||
The help command displays help for a given command:
|
||||
|
||||
php app/console help list
|
||||
|
||||
You can also output the help in other formats by using the --format option:
|
||||
|
||||
php app/console help --format=xml list
|
||||
|
||||
To display the list of available commands, please use the list command.
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `command_name`
|
||||
|
||||
The command name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `'help'`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command help
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
`list`
|
||||
------
|
||||
|
||||
Lists commands
|
||||
|
||||
### Usage
|
||||
|
||||
* `list [--raw] [--format FORMAT] [--] [<namespace>]`
|
||||
|
||||
The list command lists all commands:
|
||||
|
||||
php app/console list
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
php app/console list test
|
||||
|
||||
You can also output the information in other formats by using the --format option:
|
||||
|
||||
php app/console list --format=xml
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
php app/console list --raw
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `namespace`
|
||||
|
||||
The namespace name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command list
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
17
vendor/symfony/console/Tests/Fixtures/application_1.txt
vendored
Normal file
17
vendor/symfony/console/Tests/Fixtures/application_1.txt
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
Console Tool
|
||||
|
||||
<comment>Usage:</comment>
|
||||
command [options] [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>-h, --help</info> Display this help message
|
||||
<info>-q, --quiet</info> Do not output any message
|
||||
<info>-V, --version</info> Display this application version
|
||||
<info> --ansi</info> Force ANSI output
|
||||
<info> --no-ansi</info> Disable ANSI output
|
||||
<info>-n, --no-interaction</info> Do not ask any interactive question
|
||||
<info>-v|vv|vvv, --verbose</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>help</info> Displays help for a command
|
||||
<info>list</info> Lists commands
|
104
vendor/symfony/console/Tests/Fixtures/application_1.xml
vendored
Normal file
104
vendor/symfony/console/Tests/Fixtures/application_1.xml
vendored
Normal file
|
@ -0,0 +1,104 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<symfony>
|
||||
<commands>
|
||||
<command id="help" name="help" hidden="0">
|
||||
<usages>
|
||||
<usage>help [--format FORMAT] [--raw] [--] [<command_name>]</usage>
|
||||
</usages>
|
||||
<description>Displays help for a command</description>
|
||||
<help>The <info>help</info> command displays help for a given command:
|
||||
|
||||
<info>php app/console help list</info>
|
||||
|
||||
You can also output the help in other formats by using the <comment>--format</comment> option:
|
||||
|
||||
<info>php app/console help --format=xml list</info>
|
||||
|
||||
To display the list of available commands, please use the <info>list</info> command.</help>
|
||||
<arguments>
|
||||
<argument name="command_name" is_required="0" is_array="0">
|
||||
<description>The command name</description>
|
||||
<defaults>
|
||||
<default>help</default>
|
||||
</defaults>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>The output format (txt, xml, json, or md)</description>
|
||||
<defaults>
|
||||
<default>txt</default>
|
||||
</defaults>
|
||||
</option>
|
||||
<option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output raw command help</description>
|
||||
</option>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="list" name="list" hidden="0">
|
||||
<usages>
|
||||
<usage>list [--raw] [--format FORMAT] [--] [<namespace>]</usage>
|
||||
</usages>
|
||||
<description>Lists commands</description>
|
||||
<help>The <info>list</info> command lists all commands:
|
||||
|
||||
<info>php app/console list</info>
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
<info>php app/console list test</info>
|
||||
|
||||
You can also output the information in other formats by using the <comment>--format</comment> option:
|
||||
|
||||
<info>php app/console list --format=xml</info>
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
<info>php app/console list --raw</info></help>
|
||||
<arguments>
|
||||
<argument name="namespace" is_required="0" is_array="0">
|
||||
<description>The namespace name</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output raw command list</description>
|
||||
</option>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>The output format (txt, xml, json, or md)</description>
|
||||
<defaults>
|
||||
<default>txt</default>
|
||||
</defaults>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
</commands>
|
||||
<namespaces>
|
||||
<namespace id="_global">
|
||||
<command>help</command>
|
||||
<command>list</command>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
</symfony>
|
509
vendor/symfony/console/Tests/Fixtures/application_2.json
vendored
Normal file
509
vendor/symfony/console/Tests/Fixtures/application_2.json
vendored
Normal file
|
@ -0,0 +1,509 @@
|
|||
{
|
||||
"application": {
|
||||
"name": "My Symfony application",
|
||||
"version": "v1.0"
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"name": "help",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"help [--format FORMAT] [--raw] [--] [<command_name>]"
|
||||
],
|
||||
"description": "Displays help for a command",
|
||||
"help": "The <info>help<\/info> command displays help for a given command:\n\n <info>php app\/console help list<\/info>\n\nYou can also output the help in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console help --format=xml list<\/info>\n\nTo display the list of available commands, please use the <info>list<\/info> command.",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"command_name": {
|
||||
"name": "command_name",
|
||||
"is_required": false,
|
||||
"is_array": false,
|
||||
"description": "The command name",
|
||||
"default": "help"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"format": {
|
||||
"name": "--format",
|
||||
"shortcut": "",
|
||||
"accept_value": true,
|
||||
"is_value_required": true,
|
||||
"is_multiple": false,
|
||||
"description": "The output format (txt, xml, json, or md)",
|
||||
"default": "txt"
|
||||
},
|
||||
"raw": {
|
||||
"name": "--raw",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "To output raw command help",
|
||||
"default": false
|
||||
},
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "list",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"list [--raw] [--format FORMAT] [--] [<namespace>]"
|
||||
],
|
||||
"description": "Lists commands",
|
||||
"help": "The <info>list<\/info> command lists all commands:\n\n <info>php app\/console list<\/info>\n\nYou can also display the commands for a specific namespace:\n\n <info>php app\/console list test<\/info>\n\nYou can also output the information in other formats by using the <comment>--format<\/comment> option:\n\n <info>php app\/console list --format=xml<\/info>\n\nIt's also possible to get raw list of commands (useful for embedding command runner):\n\n <info>php app\/console list --raw<\/info>",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"namespace": {
|
||||
"name": "namespace",
|
||||
"is_required": false,
|
||||
"is_array": false,
|
||||
"description": "The namespace name",
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"raw": {
|
||||
"name": "--raw",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "To output raw command list",
|
||||
"default": false
|
||||
},
|
||||
"format": {
|
||||
"name": "--format",
|
||||
"shortcut": "",
|
||||
"accept_value": true,
|
||||
"is_value_required": true,
|
||||
"is_multiple": false,
|
||||
"description": "The output format (txt, xml, json, or md)",
|
||||
"default": "txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "descriptor:command1",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"descriptor:command1",
|
||||
"alias1",
|
||||
"alias2"
|
||||
],
|
||||
"description": "command 1 description",
|
||||
"help": "command 1 help",
|
||||
"definition": {
|
||||
"arguments": [],
|
||||
"options": {
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "descriptor:command2",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"descriptor:command2 [-o|--option_name] [--] <argument_name>",
|
||||
"descriptor:command2 -o|--option_name <argument_name>",
|
||||
"descriptor:command2 <argument_name>"
|
||||
],
|
||||
"description": "command 2 description",
|
||||
"help": "command 2 help",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"argument_name": {
|
||||
"name": "argument_name",
|
||||
"is_required": true,
|
||||
"is_array": false,
|
||||
"description": "",
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"option_name": {
|
||||
"name": "--option_name",
|
||||
"shortcut": "-o",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "",
|
||||
"default": false
|
||||
},
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "descriptor:command3",
|
||||
"hidden": true,
|
||||
"usage": [
|
||||
"descriptor:command3"
|
||||
],
|
||||
"description": "command 3 description",
|
||||
"help": "command 3 help",
|
||||
"definition": {
|
||||
"arguments": {},
|
||||
"options": {
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "descriptor:command4",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"descriptor:command4",
|
||||
"descriptor:alias_command4",
|
||||
"command4:descriptor"
|
||||
],
|
||||
"description": null,
|
||||
"help": "",
|
||||
"definition": {
|
||||
"arguments": {},
|
||||
"options": {
|
||||
"help": {
|
||||
"name": "--help",
|
||||
"shortcut": "-h",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this help message",
|
||||
"default": false
|
||||
},
|
||||
"quiet": {
|
||||
"name": "--quiet",
|
||||
"shortcut": "-q",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not output any message",
|
||||
"default": false
|
||||
},
|
||||
"verbose": {
|
||||
"name": "--verbose",
|
||||
"shortcut": "-v|-vv|-vvv",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug",
|
||||
"default": false
|
||||
},
|
||||
"version": {
|
||||
"name": "--version",
|
||||
"shortcut": "-V",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Display this application version",
|
||||
"default": false
|
||||
},
|
||||
"ansi": {
|
||||
"name": "--ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Force ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-ansi": {
|
||||
"name": "--no-ansi",
|
||||
"shortcut": "",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Disable ANSI output",
|
||||
"default": false
|
||||
},
|
||||
"no-interaction": {
|
||||
"name": "--no-interaction",
|
||||
"shortcut": "-n",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "Do not ask any interactive question",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"namespaces": [
|
||||
{
|
||||
"id": "_global",
|
||||
"commands": [
|
||||
"alias1",
|
||||
"alias2",
|
||||
"help",
|
||||
"list"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "command4",
|
||||
"commands": [
|
||||
"command4:descriptor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "descriptor",
|
||||
"commands": [
|
||||
"descriptor:alias_command4",
|
||||
"descriptor:command1",
|
||||
"descriptor:command2",
|
||||
"descriptor:command3",
|
||||
"descriptor:command4"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
431
vendor/symfony/console/Tests/Fixtures/application_2.md
vendored
Normal file
431
vendor/symfony/console/Tests/Fixtures/application_2.md
vendored
Normal file
|
@ -0,0 +1,431 @@
|
|||
My Symfony application v1.0
|
||||
===========================
|
||||
|
||||
* [`alias1`](#descriptorcommand1)
|
||||
* [`alias2`](#descriptorcommand1)
|
||||
* [`help`](#help)
|
||||
* [`list`](#list)
|
||||
|
||||
**command4:**
|
||||
|
||||
* [`command4:descriptor`](#descriptorcommand4)
|
||||
|
||||
**descriptor:**
|
||||
|
||||
* [`descriptor:alias_command4`](#descriptorcommand4)
|
||||
* [`descriptor:command1`](#descriptorcommand1)
|
||||
* [`descriptor:command2`](#descriptorcommand2)
|
||||
* [`descriptor:command4`](#descriptorcommand4)
|
||||
|
||||
`help`
|
||||
------
|
||||
|
||||
Displays help for a command
|
||||
|
||||
### Usage
|
||||
|
||||
* `help [--format FORMAT] [--raw] [--] [<command_name>]`
|
||||
|
||||
The help command displays help for a given command:
|
||||
|
||||
php app/console help list
|
||||
|
||||
You can also output the help in other formats by using the --format option:
|
||||
|
||||
php app/console help --format=xml list
|
||||
|
||||
To display the list of available commands, please use the list command.
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `command_name`
|
||||
|
||||
The command name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `'help'`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command help
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
`list`
|
||||
------
|
||||
|
||||
Lists commands
|
||||
|
||||
### Usage
|
||||
|
||||
* `list [--raw] [--format FORMAT] [--] [<namespace>]`
|
||||
|
||||
The list command lists all commands:
|
||||
|
||||
php app/console list
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
php app/console list test
|
||||
|
||||
You can also output the information in other formats by using the --format option:
|
||||
|
||||
php app/console list --format=xml
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
php app/console list --raw
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `namespace`
|
||||
|
||||
The namespace name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command list
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
||||
|
||||
`descriptor:command1`
|
||||
---------------------
|
||||
|
||||
command 1 description
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:command1`
|
||||
* `alias1`
|
||||
* `alias2`
|
||||
|
||||
command 1 help
|
||||
|
||||
### Options
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
`descriptor:command2`
|
||||
---------------------
|
||||
|
||||
command 2 description
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:command2 [-o|--option_name] [--] <argument_name>`
|
||||
* `descriptor:command2 -o|--option_name <argument_name>`
|
||||
* `descriptor:command2 <argument_name>`
|
||||
|
||||
command 2 help
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `argument_name`
|
||||
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--option_name|-o`
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
`descriptor:command4`
|
||||
---------------------
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:command4`
|
||||
* `descriptor:alias_command4`
|
||||
* `command4:descriptor`
|
||||
|
||||
|
||||
### Options
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
21
vendor/symfony/console/Tests/Fixtures/application_2.txt
vendored
Normal file
21
vendor/symfony/console/Tests/Fixtures/application_2.txt
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
My Symfony application <info>v1.0</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
command [options] [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>-h, --help</info> Display this help message
|
||||
<info>-q, --quiet</info> Do not output any message
|
||||
<info>-V, --version</info> Display this application version
|
||||
<info> --ansi</info> Force ANSI output
|
||||
<info> --no-ansi</info> Disable ANSI output
|
||||
<info>-n, --no-interaction</info> Do not ask any interactive question
|
||||
<info>-v|vv|vvv, --verbose</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>help</info> Displays help for a command
|
||||
<info>list</info> Lists commands
|
||||
<comment>descriptor</comment>
|
||||
<info>descriptor:command1</info> [alias1|alias2] command 1 description
|
||||
<info>descriptor:command2</info> command 2 description
|
||||
<info>descriptor:command4</info> [descriptor:alias_command4|command4:descriptor]
|
254
vendor/symfony/console/Tests/Fixtures/application_2.xml
vendored
Normal file
254
vendor/symfony/console/Tests/Fixtures/application_2.xml
vendored
Normal file
|
@ -0,0 +1,254 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<symfony name="My Symfony application" version="v1.0">
|
||||
<commands>
|
||||
<command id="help" name="help" hidden="0">
|
||||
<usages>
|
||||
<usage>help [--format FORMAT] [--raw] [--] [<command_name>]</usage>
|
||||
</usages>
|
||||
<description>Displays help for a command</description>
|
||||
<help>The <info>help</info> command displays help for a given command:
|
||||
|
||||
<info>php app/console help list</info>
|
||||
|
||||
You can also output the help in other formats by using the <comment>--format</comment> option:
|
||||
|
||||
<info>php app/console help --format=xml list</info>
|
||||
|
||||
To display the list of available commands, please use the <info>list</info> command.</help>
|
||||
<arguments>
|
||||
<argument name="command_name" is_required="0" is_array="0">
|
||||
<description>The command name</description>
|
||||
<defaults>
|
||||
<default>help</default>
|
||||
</defaults>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>The output format (txt, xml, json, or md)</description>
|
||||
<defaults>
|
||||
<default>txt</default>
|
||||
</defaults>
|
||||
</option>
|
||||
<option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output raw command help</description>
|
||||
</option>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="list" name="list" hidden="0">
|
||||
<usages>
|
||||
<usage>list [--raw] [--format FORMAT] [--] [<namespace>]</usage>
|
||||
</usages>
|
||||
<description>Lists commands</description>
|
||||
<help>The <info>list</info> command lists all commands:
|
||||
|
||||
<info>php app/console list</info>
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
<info>php app/console list test</info>
|
||||
|
||||
You can also output the information in other formats by using the <comment>--format</comment> option:
|
||||
|
||||
<info>php app/console list --format=xml</info>
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
<info>php app/console list --raw</info></help>
|
||||
<arguments>
|
||||
<argument name="namespace" is_required="0" is_array="0">
|
||||
<description>The namespace name</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output raw command list</description>
|
||||
</option>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>The output format (txt, xml, json, or md)</description>
|
||||
<defaults>
|
||||
<default>txt</default>
|
||||
</defaults>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="descriptor:command1" name="descriptor:command1" hidden="0">
|
||||
<usages>
|
||||
<usage>descriptor:command1</usage>
|
||||
<usage>alias1</usage>
|
||||
<usage>alias2</usage>
|
||||
</usages>
|
||||
<description>command 1 description</description>
|
||||
<help>command 1 help</help>
|
||||
<arguments/>
|
||||
<options>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="descriptor:command2" name="descriptor:command2" hidden="0">
|
||||
<usages>
|
||||
<usage>descriptor:command2 [-o|--option_name] [--] <argument_name></usage>
|
||||
<usage>descriptor:command2 -o|--option_name <argument_name></usage>
|
||||
<usage>descriptor:command2 <argument_name></usage>
|
||||
</usages>
|
||||
<description>command 2 description</description>
|
||||
<help>command 2 help</help>
|
||||
<arguments>
|
||||
<argument name="argument_name" is_required="1" is_array="0">
|
||||
<description></description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description></description>
|
||||
</option>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="descriptor:command3" name="descriptor:command3" hidden="1">
|
||||
<usages>
|
||||
<usage>descriptor:command3</usage>
|
||||
</usages>
|
||||
<description>command 3 description</description>
|
||||
<help>command 3 help</help>
|
||||
<arguments/>
|
||||
<options>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="descriptor:command4" name="descriptor:command4" hidden="0">
|
||||
<usages>
|
||||
<usage>descriptor:command4</usage>
|
||||
<usage>descriptor:alias_command4</usage>
|
||||
<usage>command4:descriptor</usage>
|
||||
</usages>
|
||||
<description></description>
|
||||
<help></help>
|
||||
<arguments/>
|
||||
<options>
|
||||
<option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this help message</description>
|
||||
</option>
|
||||
<option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not output any message</description>
|
||||
</option>
|
||||
<option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
|
||||
</option>
|
||||
<option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Display this application version</description>
|
||||
</option>
|
||||
<option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Force ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Disable ANSI output</description>
|
||||
</option>
|
||||
<option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>Do not ask any interactive question</description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
</commands>
|
||||
<namespaces>
|
||||
<namespace id="_global">
|
||||
<command>alias1</command>
|
||||
<command>alias2</command>
|
||||
<command>help</command>
|
||||
<command>list</command>
|
||||
</namespace>
|
||||
<namespace id="command4">
|
||||
<command>command4:descriptor</command>
|
||||
</namespace>
|
||||
<namespace id="descriptor">
|
||||
<command>descriptor:alias_command4</command>
|
||||
<command>descriptor:command1</command>
|
||||
<command>descriptor:command2</command>
|
||||
<command>descriptor:command3</command>
|
||||
<command>descriptor:command4</command>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
</symfony>
|
16
vendor/symfony/console/Tests/Fixtures/application_filtered_namespace.txt
vendored
Normal file
16
vendor/symfony/console/Tests/Fixtures/application_filtered_namespace.txt
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
My Symfony application <info>v1.0</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
command [options] [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>-h, --help</info> Display this help message
|
||||
<info>-q, --quiet</info> Do not output any message
|
||||
<info>-V, --version</info> Display this application version
|
||||
<info> --ansi</info> Force ANSI output
|
||||
<info> --no-ansi</info> Disable ANSI output
|
||||
<info>-n, --no-interaction</info> Do not ask any interactive question
|
||||
<info>-v|vv|vvv, --verbose</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
<comment>Available commands for the "command4" namespace:</comment>
|
||||
<info>command4:descriptor</info>
|
1
vendor/symfony/console/Tests/Fixtures/application_gethelp.txt
vendored
Normal file
1
vendor/symfony/console/Tests/Fixtures/application_gethelp.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Console Tool
|
269
vendor/symfony/console/Tests/Fixtures/application_mbstring.md
vendored
Normal file
269
vendor/symfony/console/Tests/Fixtures/application_mbstring.md
vendored
Normal file
|
@ -0,0 +1,269 @@
|
|||
MbString åpplicätion
|
||||
====================
|
||||
|
||||
* [`help`](#help)
|
||||
* [`list`](#list)
|
||||
|
||||
**descriptor:**
|
||||
|
||||
* [`descriptor:åèä`](#descriptoråèä)
|
||||
|
||||
`help`
|
||||
------
|
||||
|
||||
Displays help for a command
|
||||
|
||||
### Usage
|
||||
|
||||
* `help [--format FORMAT] [--raw] [--] [<command_name>]`
|
||||
|
||||
The help command displays help for a given command:
|
||||
|
||||
php app/console help list
|
||||
|
||||
You can also output the help in other formats by using the --format option:
|
||||
|
||||
php app/console help --format=xml list
|
||||
|
||||
To display the list of available commands, please use the list command.
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `command_name`
|
||||
|
||||
The command name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `'help'`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command help
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
`list`
|
||||
------
|
||||
|
||||
Lists commands
|
||||
|
||||
### Usage
|
||||
|
||||
* `list [--raw] [--format FORMAT] [--] [<namespace>]`
|
||||
|
||||
The list command lists all commands:
|
||||
|
||||
php app/console list
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
php app/console list test
|
||||
|
||||
You can also output the information in other formats by using the --format option:
|
||||
|
||||
php app/console list --format=xml
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
php app/console list --raw
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `namespace`
|
||||
|
||||
The namespace name
|
||||
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--raw`
|
||||
|
||||
To output raw command list
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--format`
|
||||
|
||||
The output format (txt, xml, json, or md)
|
||||
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Default: `'txt'`
|
||||
|
||||
`descriptor:åèä`
|
||||
----------------
|
||||
|
||||
command åèä description
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:åèä [-o|--option_åèä] [--] <argument_åèä>`
|
||||
* `descriptor:åèä -o|--option_name <argument_name>`
|
||||
* `descriptor:åèä <argument_name>`
|
||||
|
||||
command åèä help
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `argument_åèä`
|
||||
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--option_åèä|-o`
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--help|-h`
|
||||
|
||||
Display this help message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--quiet|-q`
|
||||
|
||||
Do not output any message
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--verbose|-v|-vv|-vvv`
|
||||
|
||||
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--version|-V`
|
||||
|
||||
Display this application version
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--ansi`
|
||||
|
||||
Force ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-ansi`
|
||||
|
||||
Disable ANSI output
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
||||
|
||||
#### `--no-interaction|-n`
|
||||
|
||||
Do not ask any interactive question
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
19
vendor/symfony/console/Tests/Fixtures/application_mbstring.txt
vendored
Normal file
19
vendor/symfony/console/Tests/Fixtures/application_mbstring.txt
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
MbString åpplicätion
|
||||
|
||||
<comment>Usage:</comment>
|
||||
command [options] [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>-h, --help</info> Display this help message
|
||||
<info>-q, --quiet</info> Do not output any message
|
||||
<info>-V, --version</info> Display this application version
|
||||
<info> --ansi</info> Force ANSI output
|
||||
<info> --no-ansi</info> Disable ANSI output
|
||||
<info>-n, --no-interaction</info> Do not ask any interactive question
|
||||
<info>-v|vv|vvv, --verbose</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>help</info> Displays help for a command
|
||||
<info>list</info> Lists commands
|
||||
<comment>descriptor</comment>
|
||||
<info>descriptor:åèä</info> command åèä description
|
5
vendor/symfony/console/Tests/Fixtures/application_renderexception1.txt
vendored
Normal file
5
vendor/symfony/console/Tests/Fixtures/application_renderexception1.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
|
||||
Command "foo" is not defined.
|
||||
|
||||
|
7
vendor/symfony/console/Tests/Fixtures/application_renderexception2.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/application_renderexception2.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
The "--foo" option does not exist.
|
||||
|
||||
|
||||
list [--raw] [--format FORMAT] [--] [<namespace>]
|
||||
|
18
vendor/symfony/console/Tests/Fixtures/application_renderexception3.txt
vendored
Normal file
18
vendor/symfony/console/Tests/Fixtures/application_renderexception3.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
In Foo3Command.php line 26:
|
||||
|
||||
Third exception <fg=blue;bg=red>comment</>
|
||||
|
||||
|
||||
In Foo3Command.php line 23:
|
||||
|
||||
Second exception <comment>comment</comment>
|
||||
|
||||
|
||||
In Foo3Command.php line 21:
|
||||
|
||||
First exception <p>this is html</p>
|
||||
|
||||
|
||||
foo3:bar
|
||||
|
18
vendor/symfony/console/Tests/Fixtures/application_renderexception3decorated.txt
vendored
Normal file
18
vendor/symfony/console/Tests/Fixtures/application_renderexception3decorated.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
[33mIn Foo3Command.php line 26:[39m
|
||||
[37;41m [39;49m
|
||||
[37;41m Third exception <fg=blue;bg=red>comment</> [39;49m
|
||||
[37;41m [39;49m
|
||||
|
||||
[33mIn Foo3Command.php line 23:[39m
|
||||
[37;41m [39;49m
|
||||
[37;41m Second exception <comment>comment</comment> [39;49m
|
||||
[37;41m [39;49m
|
||||
|
||||
[33mIn Foo3Command.php line 21:[39m
|
||||
[37;41m [39;49m
|
||||
[37;41m First exception <p>this is html</p> [39;49m
|
||||
[37;41m [39;49m
|
||||
|
||||
[32mfoo3:bar[39m
|
||||
|
6
vendor/symfony/console/Tests/Fixtures/application_renderexception4.txt
vendored
Normal file
6
vendor/symfony/console/Tests/Fixtures/application_renderexception4.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
Command "foo" is not define
|
||||
d.
|
||||
|
||||
|
8
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1.txt
vendored
Normal file
8
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
In ApplicationTest.php line 726:
|
||||
|
||||
エラーメッセージ
|
||||
|
||||
|
||||
foo
|
||||
|
8
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1decorated.txt
vendored
Normal file
8
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1decorated.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
[33mIn ApplicationTest.php line 726:[39m
|
||||
[37;41m [39;49m
|
||||
[37;41m エラーメッセージ [39;49m
|
||||
[37;41m [39;49m
|
||||
|
||||
[32mfoo[39m
|
||||
|
9
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth2.txt
vendored
Normal file
9
vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth2.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
In ApplicationTest.php line 740:
|
||||
|
||||
コマンドの実行中にエラーが
|
||||
発生しました。
|
||||
|
||||
|
||||
foo
|
||||
|
9
vendor/symfony/console/Tests/Fixtures/application_renderexception_escapeslines.txt
vendored
Normal file
9
vendor/symfony/console/Tests/Fixtures/application_renderexception_escapeslines.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
In ApplicationTest.php line 754:
|
||||
|
||||
dont break here <
|
||||
info>!</info>
|
||||
|
||||
|
||||
foo
|
||||
|
11
vendor/symfony/console/Tests/Fixtures/application_renderexception_linebreaks.txt
vendored
Normal file
11
vendor/symfony/console/Tests/Fixtures/application_renderexception_linebreaks.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
In ApplicationTest.php line 771:
|
||||
|
||||
line 1 with extra spaces
|
||||
line 2
|
||||
|
||||
line 4
|
||||
|
||||
|
||||
foo
|
||||
|
17
vendor/symfony/console/Tests/Fixtures/application_run1.txt
vendored
Normal file
17
vendor/symfony/console/Tests/Fixtures/application_run1.txt
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
Console Tool
|
||||
|
||||
Usage:
|
||||
command [options] [arguments]
|
||||
|
||||
Options:
|
||||
-h, --help Display this help message
|
||||
-q, --quiet Do not output any message
|
||||
-V, --version Display this application version
|
||||
--ansi Force ANSI output
|
||||
--no-ansi Disable ANSI output
|
||||
-n, --no-interaction Do not ask any interactive question
|
||||
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
|
||||
Available commands:
|
||||
help Displays help for a command
|
||||
list Lists commands
|
26
vendor/symfony/console/Tests/Fixtures/application_run2.txt
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/application_run2.txt
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
Usage:
|
||||
list [options] [--] [<namespace>]
|
||||
|
||||
Arguments:
|
||||
namespace The namespace name
|
||||
|
||||
Options:
|
||||
--raw To output raw command list
|
||||
--format=FORMAT The output format (txt, xml, json, or md) [default: "txt"]
|
||||
|
||||
Help:
|
||||
The list command lists all commands:
|
||||
|
||||
php app/console list
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
php app/console list test
|
||||
|
||||
You can also output the information in other formats by using the --format option:
|
||||
|
||||
php app/console list --format=xml
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
php app/console list --raw
|
26
vendor/symfony/console/Tests/Fixtures/application_run3.txt
vendored
Normal file
26
vendor/symfony/console/Tests/Fixtures/application_run3.txt
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
Usage:
|
||||
list [options] [--] [<namespace>]
|
||||
|
||||
Arguments:
|
||||
namespace The namespace name
|
||||
|
||||
Options:
|
||||
--raw To output raw command list
|
||||
--format=FORMAT The output format (txt, xml, json, or md) [default: "txt"]
|
||||
|
||||
Help:
|
||||
The list command lists all commands:
|
||||
|
||||
php app/console list
|
||||
|
||||
You can also display the commands for a specific namespace:
|
||||
|
||||
php app/console list test
|
||||
|
||||
You can also output the information in other formats by using the --format option:
|
||||
|
||||
php app/console list --format=xml
|
||||
|
||||
It's also possible to get raw list of commands (useful for embedding command runner):
|
||||
|
||||
php app/console list --raw
|
1
vendor/symfony/console/Tests/Fixtures/application_run4.txt
vendored
Normal file
1
vendor/symfony/console/Tests/Fixtures/application_run4.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Console Tool
|
15
vendor/symfony/console/Tests/Fixtures/command_1.json
vendored
Normal file
15
vendor/symfony/console/Tests/Fixtures/command_1.json
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "descriptor:command1",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"descriptor:command1",
|
||||
"alias1",
|
||||
"alias2"
|
||||
],
|
||||
"description": "command 1 description",
|
||||
"help": "command 1 help",
|
||||
"definition": {
|
||||
"arguments": [],
|
||||
"options": []
|
||||
}
|
||||
}
|
12
vendor/symfony/console/Tests/Fixtures/command_1.md
vendored
Normal file
12
vendor/symfony/console/Tests/Fixtures/command_1.md
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
`descriptor:command1`
|
||||
---------------------
|
||||
|
||||
command 1 description
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:command1`
|
||||
* `alias1`
|
||||
* `alias2`
|
||||
|
||||
command 1 help
|
7
vendor/symfony/console/Tests/Fixtures/command_1.txt
vendored
Normal file
7
vendor/symfony/console/Tests/Fixtures/command_1.txt
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
<comment>Usage:</comment>
|
||||
descriptor:command1
|
||||
alias1
|
||||
alias2
|
||||
|
||||
<comment>Help:</comment>
|
||||
command 1 help
|
12
vendor/symfony/console/Tests/Fixtures/command_1.xml
vendored
Normal file
12
vendor/symfony/console/Tests/Fixtures/command_1.xml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<command id="descriptor:command1" name="descriptor:command1" hidden="0">
|
||||
<usages>
|
||||
<usage>descriptor:command1</usage>
|
||||
<usage>alias1</usage>
|
||||
<usage>alias2</usage>
|
||||
</usages>
|
||||
<description>command 1 description</description>
|
||||
<help>command 1 help</help>
|
||||
<arguments/>
|
||||
<options/>
|
||||
</command>
|
33
vendor/symfony/console/Tests/Fixtures/command_2.json
vendored
Normal file
33
vendor/symfony/console/Tests/Fixtures/command_2.json
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"name": "descriptor:command2",
|
||||
"hidden": false,
|
||||
"usage": [
|
||||
"descriptor:command2 [-o|--option_name] [--] <argument_name>",
|
||||
"descriptor:command2 -o|--option_name <argument_name>",
|
||||
"descriptor:command2 <argument_name>"
|
||||
],
|
||||
"description": "command 2 description",
|
||||
"help": "command 2 help",
|
||||
"definition": {
|
||||
"arguments": {
|
||||
"argument_name": {
|
||||
"name": "argument_name",
|
||||
"is_required": true,
|
||||
"is_array": false,
|
||||
"description": "",
|
||||
"default": null
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"option_name": {
|
||||
"name": "--option_name",
|
||||
"shortcut": "-o",
|
||||
"accept_value": false,
|
||||
"is_value_required": false,
|
||||
"is_multiple": false,
|
||||
"description": "",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
29
vendor/symfony/console/Tests/Fixtures/command_2.md
vendored
Normal file
29
vendor/symfony/console/Tests/Fixtures/command_2.md
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
`descriptor:command2`
|
||||
---------------------
|
||||
|
||||
command 2 description
|
||||
|
||||
### Usage
|
||||
|
||||
* `descriptor:command2 [-o|--option_name] [--] <argument_name>`
|
||||
* `descriptor:command2 -o|--option_name <argument_name>`
|
||||
* `descriptor:command2 <argument_name>`
|
||||
|
||||
command 2 help
|
||||
|
||||
### Arguments
|
||||
|
||||
#### `argument_name`
|
||||
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Default: `NULL`
|
||||
|
||||
### Options
|
||||
|
||||
#### `--option_name|-o`
|
||||
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Default: `false`
|
13
vendor/symfony/console/Tests/Fixtures/command_2.txt
vendored
Normal file
13
vendor/symfony/console/Tests/Fixtures/command_2.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<comment>Usage:</comment>
|
||||
descriptor:command2 [options] [--] \<argument_name>
|
||||
descriptor:command2 -o|--option_name \<argument_name>
|
||||
descriptor:command2 \<argument_name>
|
||||
|
||||
<comment>Arguments:</comment>
|
||||
<info>argument_name</info>
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>-o, --option_name</info>
|
||||
|
||||
<comment>Help:</comment>
|
||||
command 2 help
|
21
vendor/symfony/console/Tests/Fixtures/command_2.xml
vendored
Normal file
21
vendor/symfony/console/Tests/Fixtures/command_2.xml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<command id="descriptor:command2" name="descriptor:command2" hidden="0">
|
||||
<usages>
|
||||
<usage>descriptor:command2 [-o|--option_name] [--] <argument_name></usage>
|
||||
<usage>descriptor:command2 -o|--option_name <argument_name></usage>
|
||||
<usage>descriptor:command2 <argument_name></usage>
|
||||
</usages>
|
||||
<description>command 2 description</description>
|
||||
<help>command 2 help</help>
|
||||
<arguments>
|
||||
<argument name="argument_name" is_required="1" is_array="0">
|
||||
<description></description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description></description>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue