You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

Add CLI commands

You module can optionally use Magento 2’s Symfony-based command-line interface (CLI) to provide commands for users to interact with. To use the CLI, see the following topics: