79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<symfony>
|
|
<commands>
|
|
<command id="help" namespace="_global" name="help">
|
|
<usage>help [--xml] [command_name]</usage>
|
|
<description>Displays help for a command</description>
|
|
<help>The <info>help</info> command displays help for a given command:
|
|
|
|
<info>./symfony help test:all</info>
|
|
|
|
You can also output the help as XML by using the <comment>--xml</comment> option:
|
|
|
|
<info>./symfony help --xml test:all</info></help>
|
|
<aliases>
|
|
<alias>?</alias>
|
|
</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_parameter="0" is_parameter_required="0" is_multiple="0">
|
|
<description>To output help as XML</description>
|
|
</option>
|
|
</options>
|
|
</command>
|
|
<command id="list" namespace="_global" name="list">
|
|
<usage>list [--xml] [namespace]</usage>
|
|
<description>Lists commands</description>
|
|
<help>The <info>list</info> command lists all commands:
|
|
|
|
<info>./symfony list</info>
|
|
|
|
You can also display the commands for a specific namespace:
|
|
|
|
<info>./symfony list test</info>
|
|
|
|
You can also output the information as XML by using the <comment>--xml</comment> option:
|
|
|
|
<info>./symfony list --xml</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_parameter="0" is_parameter_required="0" is_multiple="0">
|
|
<description>To output help as XML</description>
|
|
</option>
|
|
</options>
|
|
</command>
|
|
<command id="foo:bar" namespace="foo" name="bar">
|
|
<usage>foo:bar </usage>
|
|
<description>The foo:bar command</description>
|
|
<help/>
|
|
<aliases>
|
|
<alias>afoobar</alias>
|
|
</aliases>
|
|
<arguments/>
|
|
<options/>
|
|
</command>
|
|
</commands>
|
|
<namespaces>
|
|
<namespace id="_global">
|
|
<command>help</command>
|
|
<command>list</command>
|
|
</namespace>
|
|
<namespace id="foo">
|
|
<command>bar</command>
|
|
</namespace>
|
|
</namespaces>
|
|
</symfony>
|