17 * Description: Displays help for a command
20 * `help [--xml] [--format FORMAT] [--raw] [--] [<command_name>]`
22 The <info>help</info> command displays help for a given command:
24 <info>php app/console help list</info>
26 You can also output the help in other formats by using the <comment>--format</comment> option:
28 <info>php app/console help --format=xml list</info>
30 To display the list of available commands, please use the <info>list</info> command.
39 * Description: The command name
49 * Is value required: no
51 * Description: To output help as XML
59 * Is value required: yes
61 * Description: The output format (txt, xml, json, or md)
69 * Is value required: no
71 * Description: To output raw command help
79 * Is value required: no
81 * Description: Display this help message
89 * Is value required: no
91 * Description: Do not output any message
97 * Shortcut: `-v|-vv|-vvv`
99 * Is value required: no
101 * Description: Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
109 * Is value required: no
111 * Description: Display this application version
119 * Is value required: no
121 * Description: Force ANSI output
129 * Is value required: no
131 * Description: Disable ANSI output
136 * Name: `--no-interaction`
139 * Is value required: no
141 * Description: Do not ask any interactive question
147 * Description: Lists commands
150 * `list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]`
152 The <info>list</info> command lists all commands:
154 <info>php app/console list</info>
156 You can also display the commands for a specific namespace:
158 <info>php app/console list test</info>
160 You can also output the information in other formats by using the <comment>--format</comment> option:
162 <info>php app/console list --format=xml</info>
164 It's also possible to get raw list of commands (useful for embedding command runner):
166 <info>php app/console list --raw</info>
175 * Description: The namespace name
185 * Is value required: no
187 * Description: To output list as XML
195 * Is value required: no
197 * Description: To output raw command list
205 * Is value required: yes
207 * Description: The output format (txt, xml, json, or md)
213 * Description: command 1 description
216 * `descriptor:command1`
229 * Is value required: no
231 * Description: Display this help message
239 * Is value required: no
241 * Description: Do not output any message
247 * Shortcut: `-v|-vv|-vvv`
249 * Is value required: no
251 * Description: Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
259 * Is value required: no
261 * Description: Display this application version
269 * Is value required: no
271 * Description: Force ANSI output
279 * Is value required: no
281 * Description: Disable ANSI output
286 * Name: `--no-interaction`
289 * Is value required: no
291 * Description: Do not ask any interactive question
297 * Description: command 2 description
300 * `descriptor:command2 [-o|--option_name] [--] <argument_name>`
301 * `descriptor:command2 -o|--option_name <argument_name>`
302 * `descriptor:command2 <argument_name>`
310 * Name: argument_name
313 * Description: <none>
320 * Name: `--option_name`
323 * Is value required: no
325 * Description: <none>
333 * Is value required: no
335 * Description: Display this help message
343 * Is value required: no
345 * Description: Do not output any message
351 * Shortcut: `-v|-vv|-vvv`
353 * Is value required: no
355 * Description: Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
363 * Is value required: no
365 * Description: Display this application version
373 * Is value required: no
375 * Description: Force ANSI output
383 * Is value required: no
385 * Description: Disable ANSI output
390 * Name: `--no-interaction`
393 * Is value required: no
395 * Description: Do not ask any interactive question