Welcome to another Magento 2 tutorial. This time we are going to explore how to create a Magento 2 Command Line module. We are going to focus on the new and exciting addition to the Magento 2 framework that is the magento bin file (Command Line Interface or CLI). Think of this as a tool similar to N98-MageRun, but built into Magento 2.
During this guide, we will walk through what is required to build a module for Magento 2. Building on where we started with our first guide dedicated to the Magento 2 back end, we will use Composer to install our module. We will also begin to cover some of the more advanced subjects for later tutorials, such as autoloading, factories, proxies, and code generation.