2010-01-04 14:42:28 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<symfony>
|
2010-01-04 18:51:21 +00:00
|
|
|
<commands>
|
2011-06-07 16:51:43 +01:00
|
|
|
<command id="help" name="help">
|
2010-03-07 13:58:55 +00:00
|
|
|
<usage>help [--xml] [command_name]</usage>
|
2010-01-04 18:51:21 +00:00
|
|
|
<description>Displays help for a command</description>
|
|
|
|
<help>The <info>help</info> command displays help for a given command:
|
2010-01-04 14:42:28 +00:00
|
|
|
|
2011-08-07 09:00:06 +01:00
|
|
|
<info>php app/console help list</info>
|
2010-01-04 14:42:28 +00:00
|
|
|
|
|
|
|
You can also output the help as XML by using the <comment>--xml</comment> option:
|
|
|
|
|
2011-08-07 09:00:06 +01:00
|
|
|
<info>php app/console help --xml list</info></help>
|
2011-06-07 17:26:00 +01:00
|
|
|
<aliases />
|
2010-01-04 14:42:28 +00:00
|
|
|
<arguments>
|
2010-01-04 18:51:21 +00:00
|
|
|
<argument name="command_name" is_required="0" is_array="0">
|
|
|
|
<description>The command name</description>
|
2010-01-04 14:42:28 +00:00
|
|
|
<defaults>
|
|
|
|
<default>help</default>
|
|
|
|
</defaults>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
<options>
|
2010-11-27 16:56:55 +00:00
|
|
|
<option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
2010-01-04 14:42:28 +00:00
|
|
|
<description>To output help as XML</description>
|
|
|
|
</option>
|
|
|
|
</options>
|
2010-01-04 18:51:21 +00:00
|
|
|
</command>
|
2011-06-07 16:51:43 +01:00
|
|
|
<command id="list" name="list">
|
2010-03-07 13:58:55 +00:00
|
|
|
<usage>list [--xml] [namespace]</usage>
|
2010-01-04 18:51:21 +00:00
|
|
|
<description>Lists commands</description>
|
|
|
|
<help>The <info>list</info> command lists all commands:
|
2010-01-04 14:42:28 +00:00
|
|
|
|
2011-08-07 09:00:06 +01:00
|
|
|
<info>php app/console list</info>
|
2010-01-04 14:42:28 +00:00
|
|
|
|
2010-01-04 18:51:21 +00:00
|
|
|
You can also display the commands for a specific namespace:
|
2010-01-04 14:42:28 +00:00
|
|
|
|
2011-08-07 09:00:06 +01:00
|
|
|
<info>php app/console list test</info>
|
2010-01-04 14:42:28 +00:00
|
|
|
|
|
|
|
You can also output the information as XML by using the <comment>--xml</comment> option:
|
|
|
|
|
2011-08-07 09:00:06 +01:00
|
|
|
<info>php app/console list --xml</info></help>
|
2010-01-04 14:42:28 +00:00
|
|
|
<aliases/>
|
|
|
|
<arguments>
|
|
|
|
<argument name="namespace" is_required="0" is_array="0">
|
|
|
|
<description>The namespace name</description>
|
|
|
|
<defaults/>
|
|
|
|
</argument>
|
|
|
|
</arguments>
|
|
|
|
<options>
|
2010-11-27 16:56:55 +00:00
|
|
|
<option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
|
2010-01-04 14:42:28 +00:00
|
|
|
<description>To output help as XML</description>
|
|
|
|
</option>
|
|
|
|
</options>
|
2010-01-04 18:51:21 +00:00
|
|
|
</command>
|
2011-06-07 16:51:43 +01:00
|
|
|
<command id="foo:bar" name="foo:bar">
|
2011-03-11 10:34:30 +00:00
|
|
|
<usage>foo:bar</usage>
|
2010-01-04 18:51:21 +00:00
|
|
|
<description>The foo:bar command</description>
|
2010-01-04 14:42:28 +00:00
|
|
|
<help/>
|
|
|
|
<aliases>
|
|
|
|
<alias>afoobar</alias>
|
|
|
|
</aliases>
|
|
|
|
<arguments/>
|
|
|
|
<options/>
|
2010-01-04 18:51:21 +00:00
|
|
|
</command>
|
|
|
|
</commands>
|
2010-01-04 14:42:28 +00:00
|
|
|
<namespaces>
|
|
|
|
<namespace id="_global">
|
2010-01-04 18:51:21 +00:00
|
|
|
<command>help</command>
|
|
|
|
<command>list</command>
|
2010-01-04 14:42:28 +00:00
|
|
|
</namespace>
|
|
|
|
<namespace id="foo">
|
2011-06-07 16:51:43 +01:00
|
|
|
<command>foo:bar</command>
|
2010-01-04 14:42:28 +00:00
|
|
|
</namespace>
|
|
|
|
</namespaces>
|
|
|
|
</symfony>
|