Magento 2 Command-Line Interface

The Magento Command-Line Interface (CLI) seeks to automate processes and make life easier for developers to create unique solutions, serving as support for the execution of important procedures. The Magento 2 CLI tool can generate specific codes, perform deployment, change the status of the store, and even make backups by performing routines from the command line.

In previous versions of Magento, to disable the system cache, you would access the administrative area and change this option on the dashboard. With the Magento 2 CLI tool, it is possible perform this task with a simple command: php bin/magento cache:disable.

The Magento 2 CLI tool is available through the terminal (Unix-based) or command prompt (Windows) ...

Get Magento 2 Theme Design - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.