php bin/console list
List commands
Usage
list [--raw] [--format FORMAT] [--] [<namespace>]
Arguments
namespace The namespace name
Options
--raw To output raw command list
--format The output format (txt, xml, json, or md)
Help
The list command lists all commands:
php bin/console list
You can also display the commands for a specific namespace:
php bin/console list test
You can also output the information in other formats by using the --format option:
php bin/console list --format=xml
It's also possible to get raw list of commands (useful for embedding command runner):
php bin/console list --raw