Magento2 How to create a custom command
To get started with the custom command, first create a type with name Magento\Framework\Console\CommandListInterface to define the command options. Vendor/Module/etc/di.xml : Next create a command class defined under