1 description: 'Displays help for a command'
3 The <info>%command.name%</info> command displays help for a given command:
5 <info>php %command.full_name% list</info>
7 You can also output the help in other formats by using the <comment>--format</comment> option:
9 <info>php %command.full_name% --format=xml list</info>
11 To display the list of available commands, please use the <info>list</info> command.
13 command_name: 'The command name'
15 xml: 'To output list as XML'
16 raw: 'To output raw command list'
17 format: 'The output format (txt, xml, json, or md)'
19 deprecated: 'The <comment>--xml</comment> option was deprecated in version 2.7 and will be removed in version 3.0. Use the <comment>--format</comment> option instead'