1 <?xml version="1.0" encoding="UTF-8"?>
4 <command id="help" name="help">
5 <usage>help [--xml] [command_name]</usage>
6 <description>Displays help for a command</description>
7 <help>The <info>help</info> command displays help for a given command:
9 <info>php app/console help list</info>
11 You can also output the help as XML by using the <comment>--xml</comment> option:
13 <info>php app/console help --xml list</info></help>
16 <argument name="command_name" is_required="0" is_array="0">
17 <description>The command name</description>
19 <default>help</default>
24 <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
25 <description>To output help as XML</description>
29 <command id="list" name="list">
30 <usage>list [--xml] [--raw] [namespace]</usage>
31 <description>Lists commands</description>
32 <help>The <info>list</info> command lists all commands:
34 <info>php app/console list</info>
36 You can also display the commands for a specific namespace:
38 <info>php app/console list test</info>
40 You can also output the information as XML by using the <comment>--xml</comment> option:
42 <info>php app/console list --xml</info>
44 It's also possible to get raw list of commands (useful for embedding command runner):
46 <info>php app/console list --raw</info></help>
49 <argument name="namespace" is_required="0" is_array="0">
50 <description>The namespace name</description>
55 <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
56 <description>To output help as XML</description>
58 <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
59 <description>To output raw command list</description>
63 <command id="foo:bar" name="foo:bar">
64 <usage>foo:bar</usage>
65 <description>The foo:bar command</description>
68 <alias>afoobar</alias>
75 <namespace id="_global">
76 <command>help</command>
77 <command>list</command>
80 <command>foo:bar</command>