«There are no commands defined» failure

- Fire development, Magento 2

Magento 2 Development

If you get the «There are no commands defined» failure while trying to execute a console command in Magento 2, you can easily fix it. The reason of this problem is probably an absence of an extension’s etc/module.xml file or an error in the same file.

Source

More tips from the Cookbook