the whole shebang
This commit is contained in:
18
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorApplication1.php
vendored
Normal file
18
vendor/symfony/console/Symfony/Component/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
|
||||
{
|
||||
}
|
24
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorApplication2.php
vendored
Normal file
24
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorApplication2.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 DescriptorApplication2 extends Application
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('My Symfony application', 'v1.0');
|
||||
$this->add(new DescriptorCommand1());
|
||||
$this->add(new DescriptorCommand2());
|
||||
}
|
||||
}
|
27
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorCommand1.php
vendored
Normal file
27
vendor/symfony/console/Symfony/Component/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')
|
||||
;
|
||||
}
|
||||
}
|
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorCommand2.php
vendored
Normal file
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/DescriptorCommand2.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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')
|
||||
->addArgument('argument_name', InputArgument::REQUIRED)
|
||||
->addOption('option_name', 'o', InputOption::VALUE_NONE)
|
||||
;
|
||||
}
|
||||
}
|
26
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/Foo1Command.php
vendored
Normal file
26
vendor/symfony/console/Symfony/Component/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/Symfony/Component/Console/Tests/Fixtures/Foo2Command.php
vendored
Normal file
21
vendor/symfony/console/Symfony/Component/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)
|
||||
{
|
||||
}
|
||||
}
|
25
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/Foo3Command.php
vendored
Normal file
25
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/Foo3Command.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 Foo3Command extends Command
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName('foo3:bar')
|
||||
->setDescription('The foo3:bar command')
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
try {
|
||||
throw new \Exception("First exception");
|
||||
} catch (\Exception $e) {
|
||||
throw new \Exception("Second exception", 0, $e);
|
||||
}
|
||||
}
|
||||
}
|
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/Foo4Command.php
vendored
Normal file
11
vendor/symfony/console/Symfony/Component/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');
|
||||
}
|
||||
}
|
33
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/FooCommand.php
vendored
Normal file
33
vendor/symfony/console/Symfony/Component/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/Symfony/Component/Console/Tests/Fixtures/TestCommand.php
vendored
Normal file
28
vendor/symfony/console/Symfony/Component/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');
|
||||
}
|
||||
}
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"commands":[{"name":"help","usage":"help [--xml] [--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.","aliases":[],"definition":{"arguments":{"command_name":{"name":"command_name","is_required":false,"is_array":false,"description":"The command name","default":"help"}},"options":{"xml":{"name":"--xml","shortcut":"","accept_value":false,"is_value_required":false,"is_multiple":false,"description":"To output help as XML","default":false},"format":{"name":"--format","shortcut":"","accept_value":true,"is_value_required":true,"is_multiple":false,"description":"To output help in other formats","default":null},"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","usage":"list [--xml] [--raw] [--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>","aliases":[],"definition":{"arguments":{"namespace":{"name":"namespace","is_required":false,"is_array":false,"description":"The namespace name","default":null}},"options":{"xml":{"name":"--xml","shortcut":"","accept_value":false,"is_value_required":false,"is_multiple":false,"description":"To output list as XML","default":false},"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":"To output list in other formats","default":null}}}}],"namespaces":[{"id":"_global","commands":["help","list"]}]}
|
199
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.md
vendored
Normal file
199
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.md
vendored
Normal file
@@ -0,0 +1,199 @@
|
||||
UNKNOWN
|
||||
=======
|
||||
|
||||
* help
|
||||
* list
|
||||
|
||||
help
|
||||
----
|
||||
|
||||
* Description: Displays help for a command
|
||||
* Usage: `help [--xml] [--format="..."] [--raw] [command_name]`
|
||||
* Aliases: <none>
|
||||
|
||||
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.
|
||||
|
||||
### Arguments:
|
||||
|
||||
**command_name:**
|
||||
|
||||
* Name: command_name
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Description: The command name
|
||||
* Default: `'help'`
|
||||
|
||||
### Options:
|
||||
|
||||
**xml:**
|
||||
|
||||
* Name: `--xml`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output help as XML
|
||||
* Default: `false`
|
||||
|
||||
**format:**
|
||||
|
||||
* Name: `--format`
|
||||
* Shortcut: <none>
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Description: To output help in other formats
|
||||
* Default: `NULL`
|
||||
|
||||
**raw:**
|
||||
|
||||
* Name: `--raw`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output raw command help
|
||||
* Default: `false`
|
||||
|
||||
**help:**
|
||||
|
||||
* Name: `--help`
|
||||
* Shortcut: `-h`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this help message.
|
||||
* Default: `false`
|
||||
|
||||
**quiet:**
|
||||
|
||||
* Name: `--quiet`
|
||||
* Shortcut: `-q`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not output any message.
|
||||
* Default: `false`
|
||||
|
||||
**verbose:**
|
||||
|
||||
* Name: `--verbose`
|
||||
* Shortcut: `-v|-vv|-vvv`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* 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: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this application version.
|
||||
* Default: `false`
|
||||
|
||||
**ansi:**
|
||||
|
||||
* Name: `--ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Force ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-ansi:**
|
||||
|
||||
* Name: `--no-ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Disable ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-interaction:**
|
||||
|
||||
* Name: `--no-interaction`
|
||||
* Shortcut: `-n`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not ask any interactive question.
|
||||
* Default: `false`
|
||||
|
||||
list
|
||||
----
|
||||
|
||||
* Description: Lists commands
|
||||
* Usage: `list [--xml] [--raw] [--format="..."] [namespace]`
|
||||
* Aliases: <none>
|
||||
|
||||
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>
|
||||
|
||||
### Arguments:
|
||||
|
||||
**namespace:**
|
||||
|
||||
* Name: namespace
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Description: The namespace name
|
||||
* Default: `NULL`
|
||||
|
||||
### Options:
|
||||
|
||||
**xml:**
|
||||
|
||||
* Name: `--xml`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output list as XML
|
||||
* Default: `false`
|
||||
|
||||
**raw:**
|
||||
|
||||
* Name: `--raw`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output raw command list
|
||||
* Default: `false`
|
||||
|
||||
**format:**
|
||||
|
||||
* Name: `--format`
|
||||
* Shortcut: <none>
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Description: To output list in other formats
|
||||
* Default: `NULL`
|
17
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.txt
vendored
Normal file
17
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<info>Console Tool</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
[options] command [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> <info>-h</info> Display this help message.
|
||||
<info>--quiet</info> <info>-q</info> Do not output any message.
|
||||
<info>--verbose</info> <info>-v|vv|vvv</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> <info>-V</info> Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> <info>-n</info> Do not ask any interactive question.
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>help </info> Displays help for a command
|
||||
<info>list </info> Lists commands
|
104
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_1.xml
vendored
Normal file
104
vendor/symfony/console/Symfony/Component/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">
|
||||
<usage>help [--xml] [--format="..."] [--raw] [command_name]</usage>
|
||||
<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>
|
||||
<aliases/>
|
||||
<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="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output help as XML</description>
|
||||
</option>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>To output help in other formats</description>
|
||||
<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">
|
||||
<usage>list [--xml] [--raw] [--format="..."] [namespace]</usage>
|
||||
<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>
|
||||
<aliases/>
|
||||
<arguments>
|
||||
<argument name="namespace" is_required="0" is_array="0">
|
||||
<description>The namespace name</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output list as XML</description>
|
||||
</option>
|
||||
<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>To output list in other formats</description>
|
||||
<defaults/>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
</commands>
|
||||
<namespaces>
|
||||
<namespace id="_global">
|
||||
<command>help</command>
|
||||
<command>list</command>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
</symfony>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.json
vendored
Normal file
File diff suppressed because one or more lines are too long
388
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.md
vendored
Normal file
388
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.md
vendored
Normal file
@@ -0,0 +1,388 @@
|
||||
My Symfony application
|
||||
======================
|
||||
|
||||
* alias1
|
||||
* alias2
|
||||
* help
|
||||
* list
|
||||
|
||||
**descriptor:**
|
||||
|
||||
* descriptor:command1
|
||||
* descriptor:command2
|
||||
|
||||
help
|
||||
----
|
||||
|
||||
* Description: Displays help for a command
|
||||
* Usage: `help [--xml] [--format="..."] [--raw] [command_name]`
|
||||
* Aliases: <none>
|
||||
|
||||
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.
|
||||
|
||||
### Arguments:
|
||||
|
||||
**command_name:**
|
||||
|
||||
* Name: command_name
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Description: The command name
|
||||
* Default: `'help'`
|
||||
|
||||
### Options:
|
||||
|
||||
**xml:**
|
||||
|
||||
* Name: `--xml`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output help as XML
|
||||
* Default: `false`
|
||||
|
||||
**format:**
|
||||
|
||||
* Name: `--format`
|
||||
* Shortcut: <none>
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Description: To output help in other formats
|
||||
* Default: `NULL`
|
||||
|
||||
**raw:**
|
||||
|
||||
* Name: `--raw`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output raw command help
|
||||
* Default: `false`
|
||||
|
||||
**help:**
|
||||
|
||||
* Name: `--help`
|
||||
* Shortcut: `-h`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this help message.
|
||||
* Default: `false`
|
||||
|
||||
**quiet:**
|
||||
|
||||
* Name: `--quiet`
|
||||
* Shortcut: `-q`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not output any message.
|
||||
* Default: `false`
|
||||
|
||||
**verbose:**
|
||||
|
||||
* Name: `--verbose`
|
||||
* Shortcut: `-v|-vv|-vvv`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* 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: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this application version.
|
||||
* Default: `false`
|
||||
|
||||
**ansi:**
|
||||
|
||||
* Name: `--ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Force ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-ansi:**
|
||||
|
||||
* Name: `--no-ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Disable ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-interaction:**
|
||||
|
||||
* Name: `--no-interaction`
|
||||
* Shortcut: `-n`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not ask any interactive question.
|
||||
* Default: `false`
|
||||
|
||||
list
|
||||
----
|
||||
|
||||
* Description: Lists commands
|
||||
* Usage: `list [--xml] [--raw] [--format="..."] [namespace]`
|
||||
* Aliases: <none>
|
||||
|
||||
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>
|
||||
|
||||
### Arguments:
|
||||
|
||||
**namespace:**
|
||||
|
||||
* Name: namespace
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Description: The namespace name
|
||||
* Default: `NULL`
|
||||
|
||||
### Options:
|
||||
|
||||
**xml:**
|
||||
|
||||
* Name: `--xml`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output list as XML
|
||||
* Default: `false`
|
||||
|
||||
**raw:**
|
||||
|
||||
* Name: `--raw`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: To output raw command list
|
||||
* Default: `false`
|
||||
|
||||
**format:**
|
||||
|
||||
* Name: `--format`
|
||||
* Shortcut: <none>
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Description: To output list in other formats
|
||||
* Default: `NULL`
|
||||
|
||||
descriptor:command1
|
||||
-------------------
|
||||
|
||||
* Description: command 1 description
|
||||
* Usage: `descriptor:command1`
|
||||
* Aliases: `alias1`, `alias2`
|
||||
|
||||
command 1 help
|
||||
|
||||
### Options:
|
||||
|
||||
**help:**
|
||||
|
||||
* Name: `--help`
|
||||
* Shortcut: `-h`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this help message.
|
||||
* Default: `false`
|
||||
|
||||
**quiet:**
|
||||
|
||||
* Name: `--quiet`
|
||||
* Shortcut: `-q`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not output any message.
|
||||
* Default: `false`
|
||||
|
||||
**verbose:**
|
||||
|
||||
* Name: `--verbose`
|
||||
* Shortcut: `-v|-vv|-vvv`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* 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: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this application version.
|
||||
* Default: `false`
|
||||
|
||||
**ansi:**
|
||||
|
||||
* Name: `--ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Force ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-ansi:**
|
||||
|
||||
* Name: `--no-ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Disable ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-interaction:**
|
||||
|
||||
* Name: `--no-interaction`
|
||||
* Shortcut: `-n`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not ask any interactive question.
|
||||
* Default: `false`
|
||||
|
||||
descriptor:command2
|
||||
-------------------
|
||||
|
||||
* Description: command 2 description
|
||||
* Usage: `descriptor:command2 [-o|--option_name] argument_name`
|
||||
* Aliases: <none>
|
||||
|
||||
command 2 help
|
||||
|
||||
### Arguments:
|
||||
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Description: <none>
|
||||
* Default: `NULL`
|
||||
|
||||
### Options:
|
||||
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: <none>
|
||||
* Default: `false`
|
||||
|
||||
**help:**
|
||||
|
||||
* Name: `--help`
|
||||
* Shortcut: `-h`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this help message.
|
||||
* Default: `false`
|
||||
|
||||
**quiet:**
|
||||
|
||||
* Name: `--quiet`
|
||||
* Shortcut: `-q`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not output any message.
|
||||
* Default: `false`
|
||||
|
||||
**verbose:**
|
||||
|
||||
* Name: `--verbose`
|
||||
* Shortcut: `-v|-vv|-vvv`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* 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: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Display this application version.
|
||||
* Default: `false`
|
||||
|
||||
**ansi:**
|
||||
|
||||
* Name: `--ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Force ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-ansi:**
|
||||
|
||||
* Name: `--no-ansi`
|
||||
* Shortcut: <none>
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Disable ANSI output.
|
||||
* Default: `false`
|
||||
|
||||
**no-interaction:**
|
||||
|
||||
* Name: `--no-interaction`
|
||||
* Shortcut: `-n`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: Do not ask any interactive question.
|
||||
* Default: `false`
|
22
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.txt
vendored
Normal file
22
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.txt
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<info>My Symfony application</info> version <comment>v1.0</comment>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
[options] command [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> <info>-h</info> Display this help message.
|
||||
<info>--quiet</info> <info>-q</info> Do not output any message.
|
||||
<info>--verbose</info> <info>-v|vv|vvv</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> <info>-V</info> Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> <info>-n</info> Do not ask any interactive question.
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>alias1 </info> command 1 description
|
||||
<info>alias2 </info> command 1 description
|
||||
<info>help </info> Displays help for a command
|
||||
<info>list </info> Lists commands
|
||||
<comment>descriptor</comment>
|
||||
<info>descriptor:command1 </info> command 1 description
|
||||
<info>descriptor:command2 </info> command 2 description
|
181
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.xml
vendored
Normal file
181
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_2.xml
vendored
Normal file
@@ -0,0 +1,181 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<symfony>
|
||||
<commands>
|
||||
<command id="help" name="help">
|
||||
<usage>help [--xml] [--format="..."] [--raw] [command_name]</usage>
|
||||
<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>
|
||||
<aliases/>
|
||||
<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="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output help as XML</description>
|
||||
</option>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>To output help in other formats</description>
|
||||
<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">
|
||||
<usage>list [--xml] [--raw] [--format="..."] [namespace]</usage>
|
||||
<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>
|
||||
<aliases/>
|
||||
<arguments>
|
||||
<argument name="namespace" is_required="0" is_array="0">
|
||||
<description>The namespace name</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output list as XML</description>
|
||||
</option>
|
||||
<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>To output list in other formats</description>
|
||||
<defaults/>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="descriptor:command1" name="descriptor:command1">
|
||||
<usage>descriptor:command1</usage>
|
||||
<description>command 1 description</description>
|
||||
<help>command 1 help</help>
|
||||
<aliases>
|
||||
<alias>alias1</alias>
|
||||
<alias>alias2</alias>
|
||||
</aliases>
|
||||
<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">
|
||||
<usage>descriptor:command2 [-o|--option_name] argument_name</usage>
|
||||
<description>command 2 description</description>
|
||||
<help>command 2 help</help>
|
||||
<aliases/>
|
||||
<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>
|
||||
</commands>
|
||||
<namespaces>
|
||||
<namespace id="_global">
|
||||
<command>alias1</command>
|
||||
<command>alias2</command>
|
||||
<command>help</command>
|
||||
<command>list</command>
|
||||
</namespace>
|
||||
<namespace id="descriptor">
|
||||
<command>descriptor:command1</command>
|
||||
<command>descriptor:command2</command>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
</symfony>
|
20
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_astext1.txt
vendored
Normal file
20
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_astext1.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<info>Console Tool</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
[options] command [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> <info>-h</info> Display this help message.
|
||||
<info>--quiet</info> <info>-q</info> Do not output any message.
|
||||
<info>--verbose</info> <info>-v|vv|vvv</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> <info>-V</info> Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> <info>-n</info> Do not ask any interactive question.
|
||||
|
||||
<comment>Available commands:</comment>
|
||||
<info>afoobar </info> The foo:bar command
|
||||
<info>help </info> Displays help for a command
|
||||
<info>list </info> Lists commands
|
||||
<comment>foo</comment>
|
||||
<info>foo:bar </info> The foo:bar command
|
16
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_astext2.txt
vendored
Normal file
16
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_astext2.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<info>Console Tool</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
[options] command [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> <info>-h</info> Display this help message.
|
||||
<info>--quiet</info> <info>-q</info> Do not output any message.
|
||||
<info>--verbose</info> <info>-v|vv|vvv</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> <info>-V</info> Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> <info>-n</info> Do not ask any interactive question.
|
||||
|
||||
<comment>Available commands for the "foo" namespace:</comment>
|
||||
<info>foo:bar </info> The foo:bar command
|
140
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_asxml1.txt
vendored
Normal file
140
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_asxml1.txt
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<symfony>
|
||||
<commands>
|
||||
<command id="help" name="help">
|
||||
<usage>help [--xml] [--format="..."] [--raw] [command_name]</usage>
|
||||
<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>
|
||||
<aliases />
|
||||
<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="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output help as XML</description>
|
||||
</option>
|
||||
<option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>To output help in other formats</description>
|
||||
<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">
|
||||
<usage>list [--xml] [--raw] [--format="..."] [namespace]</usage>
|
||||
<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>
|
||||
<aliases/>
|
||||
<arguments>
|
||||
<argument name="namespace" is_required="0" is_array="0">
|
||||
<description>The namespace name</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description>To output list as XML</description>
|
||||
</option>
|
||||
<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>To output list in other formats</description>
|
||||
<defaults/>
|
||||
</option>
|
||||
</options>
|
||||
</command>
|
||||
<command id="foo:bar" name="foo:bar">
|
||||
<usage>foo:bar</usage>
|
||||
<description>The foo:bar command</description>
|
||||
<help/>
|
||||
<aliases>
|
||||
<alias>afoobar</alias>
|
||||
</aliases>
|
||||
<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>afoobar</command>
|
||||
<command>help</command>
|
||||
<command>list</command>
|
||||
</namespace>
|
||||
<namespace id="foo">
|
||||
<command>foo:bar</command>
|
||||
</namespace>
|
||||
</namespaces>
|
||||
</symfony>
|
37
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_asxml2.txt
vendored
Normal file
37
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_asxml2.txt
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<symfony>
|
||||
<commands namespace="foo">
|
||||
<command id="foo:bar" name="foo:bar">
|
||||
<usage>foo:bar</usage>
|
||||
<description>The foo:bar command</description>
|
||||
<help/>
|
||||
<aliases>
|
||||
<alias>afoobar</alias>
|
||||
</aliases>
|
||||
<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>
|
||||
</symfony>
|
13
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_gethelp.txt
vendored
Normal file
13
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_gethelp.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<info>Console Tool</info>
|
||||
|
||||
<comment>Usage:</comment>
|
||||
[options] command [arguments]
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> <info>-h</info> Display this help message.
|
||||
<info>--quiet</info> <info>-q</info> Do not output any message.
|
||||
<info>--verbose</info> <info>-v|vv|vvv</info> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> <info>-V</info> Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> <info>-n</info> Do not ask any interactive question.
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
|
||||
[InvalidArgumentException]
|
||||
Command "foo" is not defined.
|
||||
|
||||
|
||||
|
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_renderexception2.txt
vendored
Normal file
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_renderexception2.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
|
||||
[InvalidArgumentException]
|
||||
The "--foo" option does not exist.
|
||||
|
||||
|
||||
|
||||
list [--xml] [--raw] [--format="..."] [namespace]
|
||||
|
||||
|
19
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_renderexception3.txt
vendored
Normal file
19
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_renderexception3.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
|
||||
[Exception]
|
||||
Second exception
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[Exception]
|
||||
First exception
|
||||
|
||||
|
||||
|
||||
foo3:bar
|
||||
|
||||
|
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
|
||||
[InvalidArgumentException]
|
||||
Command "foo" is not define
|
||||
d.
|
||||
|
||||
|
||||
|
17
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run1.txt
vendored
Normal file
17
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run1.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
Console Tool
|
||||
|
||||
Usage:
|
||||
[options] command [arguments]
|
||||
|
||||
Options:
|
||||
--help -h Display this help message.
|
||||
--quiet -q Do not output any message.
|
||||
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
--version -V Display this application version.
|
||||
--ansi Force ANSI output.
|
||||
--no-ansi Disable ANSI output.
|
||||
--no-interaction -n Do not ask any interactive question.
|
||||
|
||||
Available commands:
|
||||
help Displays help for a command
|
||||
list Lists commands
|
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run2.txt
vendored
Normal file
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run2.txt
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
Usage:
|
||||
help [--xml] [--format="..."] [--raw] [command_name]
|
||||
|
||||
Arguments:
|
||||
command The command to execute
|
||||
command_name The command name (default: "help")
|
||||
|
||||
Options:
|
||||
--xml To output help as XML
|
||||
--format To output help in other formats
|
||||
--raw To output raw command help
|
||||
--help (-h) Display this help message.
|
||||
--quiet (-q) Do not output any message.
|
||||
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
--version (-V) Display this application version.
|
||||
--ansi Force ANSI output.
|
||||
--no-ansi Disable ANSI output.
|
||||
--no-interaction (-n) Do not ask any interactive question.
|
||||
|
||||
Help:
|
||||
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.
|
||||
|
28
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run3.txt
vendored
Normal file
28
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run3.txt
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
Usage:
|
||||
list [--xml] [--raw] [--format="..."] [namespace]
|
||||
|
||||
Arguments:
|
||||
namespace The namespace name
|
||||
|
||||
Options:
|
||||
--xml To output list as XML
|
||||
--raw To output raw command list
|
||||
--format To output list in other formats
|
||||
|
||||
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/Symfony/Component/Console/Tests/Fixtures/application_run4.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/application_run4.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Console Tool
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"descriptor:command1","usage":"descriptor:command1","description":"command 1 description","help":"command 1 help","aliases":["alias1","alias2"],"definition":{"arguments":[],"options":[]}}
|
8
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.md
vendored
Normal file
8
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.md
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
descriptor:command1
|
||||
-------------------
|
||||
|
||||
* Description: command 1 description
|
||||
* Usage: `descriptor:command1`
|
||||
* Aliases: `alias1`, `alias2`
|
||||
|
||||
command 1 help
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.txt
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<comment>Usage:</comment>
|
||||
descriptor:command1
|
||||
|
||||
<comment>Aliases:</comment> <info>alias1, alias2</info>
|
||||
|
||||
<comment>Help:</comment>
|
||||
command 1 help
|
12
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_1.xml
vendored
Normal file
12
vendor/symfony/console/Symfony/Component/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">
|
||||
<usage>descriptor:command1</usage>
|
||||
<description>command 1 description</description>
|
||||
<help>command 1 help</help>
|
||||
<aliases>
|
||||
<alias>alias1</alias>
|
||||
<alias>alias2</alias>
|
||||
</aliases>
|
||||
<arguments/>
|
||||
<options/>
|
||||
</command>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"descriptor:command2","usage":"descriptor:command2 [-o|--option_name] argument_name","description":"command 2 description","help":"command 2 help","aliases":[],"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}}}}
|
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.md
vendored
Normal file
30
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
descriptor:command2
|
||||
-------------------
|
||||
|
||||
* Description: command 2 description
|
||||
* Usage: `descriptor:command2 [-o|--option_name] argument_name`
|
||||
* Aliases: <none>
|
||||
|
||||
command 2 help
|
||||
|
||||
### Arguments:
|
||||
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Description: <none>
|
||||
* Default: `NULL`
|
||||
|
||||
### Options:
|
||||
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: <none>
|
||||
* Default: `false`
|
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.txt
vendored
Normal file
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<comment>Usage:</comment>
|
||||
descriptor:command2 [-o|--option_name] argument_name
|
||||
|
||||
<comment>Arguments:</comment>
|
||||
<info>argument_name </info>
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--option_name</info> (-o)
|
||||
|
||||
<comment>Help:</comment>
|
||||
command 2 help
|
18
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.xml
vendored
Normal file
18
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_2.xml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<command id="descriptor:command2" name="descriptor:command2">
|
||||
<usage>descriptor:command2 [-o|--option_name] argument_name</usage>
|
||||
<description>command 2 description</description>
|
||||
<help>command 2 help</help>
|
||||
<aliases/>
|
||||
<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>
|
18
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_astext.txt
vendored
Normal file
18
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_astext.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<comment>Usage:</comment>
|
||||
namespace:name
|
||||
|
||||
<comment>Aliases:</comment> <info>name</info>
|
||||
<comment>Arguments:</comment>
|
||||
<info>command </info> The command to execute
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--help</info> (-h) Display this help message.
|
||||
<info>--quiet</info> (-q) Do not output any message.
|
||||
<info>--verbose</info> (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
||||
<info>--version</info> (-V) Display this application version.
|
||||
<info>--ansi</info> Force ANSI output.
|
||||
<info>--no-ansi</info> Disable ANSI output.
|
||||
<info>--no-interaction</info> (-n) Do not ask any interactive question.
|
||||
|
||||
<comment>Help:</comment>
|
||||
help
|
38
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_asxml.txt
vendored
Normal file
38
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/command_asxml.txt
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<command id="namespace:name" name="namespace:name">
|
||||
<usage>namespace:name</usage>
|
||||
<description>description</description>
|
||||
<help>help</help>
|
||||
<aliases>
|
||||
<alias>name</alias>
|
||||
</aliases>
|
||||
<arguments>
|
||||
<argument name="command" is_required="1" is_array="0">
|
||||
<description>The command to execute</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</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>
|
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/definition_astext.txt
vendored
Normal file
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/definition_astext.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<comment>Arguments:</comment>
|
||||
<info>foo </info> The foo argument
|
||||
<info>baz </info> The baz argument<comment> (default: true)</comment>
|
||||
<info>bar </info> The bar argument<comment> (default: ["http://foo.com/"])</comment>
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--foo</info> (-f) The foo option
|
||||
<info>--baz</info> The baz option<comment> (default: false)</comment>
|
||||
<info>--bar</info> (-b) The bar option<comment> (default: "bar")</comment>
|
||||
<info>--qux</info> The qux option<comment> (default: ["http://foo.com/","bar"])</comment><comment> (multiple values allowed)</comment>
|
||||
<info>--qux2</info> The qux2 option<comment> (default: {"foo":"bar"})</comment><comment> (multiple values allowed)</comment>
|
39
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/definition_asxml.txt
vendored
Normal file
39
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/definition_asxml.txt
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definition>
|
||||
<arguments>
|
||||
<argument name="foo" is_required="0" is_array="0">
|
||||
<description>The foo argument</description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
<argument name="baz" is_required="0" is_array="0">
|
||||
<description>The baz argument</description>
|
||||
<defaults>
|
||||
<default>true</default>
|
||||
</defaults>
|
||||
</argument>
|
||||
<argument name="bar" is_required="0" is_array="1">
|
||||
<description>The bar argument</description>
|
||||
<defaults>
|
||||
<default>bar</default>
|
||||
</defaults>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options>
|
||||
<option name="--foo" shortcut="-f" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>The foo option</description>
|
||||
<defaults/>
|
||||
</option>
|
||||
<option name="--baz" shortcut="" accept_value="1" is_value_required="0" is_multiple="0">
|
||||
<description>The baz option</description>
|
||||
<defaults>
|
||||
<default>false</default>
|
||||
</defaults>
|
||||
</option>
|
||||
<option name="--bar" shortcut="-b" accept_value="1" is_value_required="0" is_multiple="0">
|
||||
<description>The bar option</description>
|
||||
<defaults>
|
||||
<default>bar</default>
|
||||
</defaults>
|
||||
</option>
|
||||
</options>
|
||||
</definition>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"argument_name","is_required":true,"is_array":false,"description":"","default":null}
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.md
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Description: <none>
|
||||
* Default: `NULL`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>argument_name</info>
|
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.xml
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_1.xml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<argument name="argument_name" is_required="1" is_array="0">
|
||||
<description></description>
|
||||
<defaults/>
|
||||
</argument>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"argument_name","is_required":false,"is_array":true,"description":"argument description","default":[]}
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.md
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: no
|
||||
* Is array: yes
|
||||
* Description: argument description
|
||||
* Default: `array ()`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>argument_name</info> argument description
|
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.xml
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_2.xml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<argument name="argument_name" is_required="0" is_array="1">
|
||||
<description>argument description</description>
|
||||
<defaults/>
|
||||
</argument>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"argument_name","is_required":false,"is_array":false,"description":"argument description","default":"default_value"}
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.md
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: no
|
||||
* Is array: no
|
||||
* Description: argument description
|
||||
* Default: `'default_value'`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>argument_name</info> argument description<comment> (default: "default_value")</comment>
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.xml
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_argument_3.xml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<argument name="argument_name" is_required="0" is_array="0">
|
||||
<description>argument description</description>
|
||||
<defaults>
|
||||
<default>default_value</default>
|
||||
</defaults>
|
||||
</argument>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"arguments":[],"options":[]}
|
0
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.md
vendored
Normal file
0
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.md
vendored
Normal file
0
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.txt
vendored
Normal file
0
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.txt
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.xml
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_1.xml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definition>
|
||||
<arguments/>
|
||||
<options/>
|
||||
</definition>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"arguments":{"argument_name":{"name":"argument_name","is_required":true,"is_array":false,"description":"","default":null}},"options":[]}
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.md
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
### Arguments:
|
||||
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Description: <none>
|
||||
* Default: `NULL`
|
2
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.txt
vendored
Normal file
2
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<comment>Arguments:</comment>
|
||||
<info>argument_name </info>
|
10
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.xml
vendored
Normal file
10
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_2.xml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definition>
|
||||
<arguments>
|
||||
<argument name="argument_name" is_required="1" is_array="0">
|
||||
<description></description>
|
||||
<defaults/>
|
||||
</argument>
|
||||
</arguments>
|
||||
<options/>
|
||||
</definition>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"arguments":[],"options":{"option_name":{"name":"--option_name","shortcut":"-o","accept_value":false,"is_value_required":false,"is_multiple":false,"description":"","default":false}}}
|
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.md
vendored
Normal file
11
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
### Options:
|
||||
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: <none>
|
||||
* Default: `false`
|
2
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.txt
vendored
Normal file
2
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<comment>Options:</comment>
|
||||
<info>--option_name</info> (-o)
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.xml
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_3.xml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definition>
|
||||
<arguments/>
|
||||
<options>
|
||||
<option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description></description>
|
||||
</option>
|
||||
</options>
|
||||
</definition>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"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}}}
|
21
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.md
vendored
Normal file
21
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
### Arguments:
|
||||
|
||||
**argument_name:**
|
||||
|
||||
* Name: argument_name
|
||||
* Is required: yes
|
||||
* Is array: no
|
||||
* Description: <none>
|
||||
* Default: `NULL`
|
||||
|
||||
### Options:
|
||||
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: <none>
|
||||
* Default: `false`
|
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.txt
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<comment>Arguments:</comment>
|
||||
<info>argument_name </info>
|
||||
|
||||
<comment>Options:</comment>
|
||||
<info>--option_name</info> (-o)
|
14
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.xml
vendored
Normal file
14
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_definition_4.xml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definition>
|
||||
<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>
|
||||
</definition>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"--option_name","shortcut":"-o","accept_value":false,"is_value_required":false,"is_multiple":false,"description":"","default":false}
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.md
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: no
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: <none>
|
||||
* Default: `false`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>--option_name</info> (-o)
|
4
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.xml
vendored
Normal file
4
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_1.xml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
|
||||
<description></description>
|
||||
</option>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"--option_name","shortcut":"-o","accept_value":true,"is_value_required":false,"is_multiple":false,"description":"option description","default":"default_value"}
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.md
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: yes
|
||||
* Is value required: no
|
||||
* Is multiple: no
|
||||
* Description: option description
|
||||
* Default: `'default_value'`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>--option_name</info> (-o) option description<comment> (default: "default_value")</comment>
|
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.xml
vendored
Normal file
7
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_2.xml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<option name="--option_name" shortcut="-o" accept_value="1" is_value_required="0" is_multiple="0">
|
||||
<description>option description</description>
|
||||
<defaults>
|
||||
<default>default_value</default>
|
||||
</defaults>
|
||||
</option>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"--option_name","shortcut":"-o","accept_value":true,"is_value_required":true,"is_multiple":false,"description":"option description","default":null}
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.md
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: yes
|
||||
* Is value required: yes
|
||||
* Is multiple: no
|
||||
* Description: option description
|
||||
* Default: `NULL`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>--option_name</info> (-o) option description
|
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.xml
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_3.xml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<option name="--option_name" shortcut="-o" accept_value="1" is_value_required="1" is_multiple="0">
|
||||
<description>option description</description>
|
||||
<defaults/>
|
||||
</option>
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.json
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"name":"--option_name","shortcut":"-o","accept_value":true,"is_value_required":false,"is_multiple":true,"description":"option description","default":[]}
|
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.md
vendored
Normal file
9
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
**option_name:**
|
||||
|
||||
* Name: `--option_name`
|
||||
* Shortcut: `-o`
|
||||
* Accept value: yes
|
||||
* Is value required: no
|
||||
* Is multiple: yes
|
||||
* Description: option description
|
||||
* Default: `array ()`
|
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.txt
vendored
Normal file
1
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<info>--option_name</info> (-o) option description<comment> (multiple values allowed)</comment>
|
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.xml
vendored
Normal file
5
vendor/symfony/console/Symfony/Component/Console/Tests/Fixtures/input_option_4.xml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<option name="--option_name" shortcut="-o" accept_value="1" is_value_required="0" is_multiple="1">
|
||||
<description>option description</description>
|
||||
<defaults/>
|
||||
</option>
|
Reference in New Issue
Block a user