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