This is archived documentation for Magento v2.2 and is no longer supported. Go to the latest documentation.

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: