Magento 2.0 has a Command-Line Interface (CLI) to help developers manage installation and configuration tasks. It saves a lot of time for developers during the development time. The new command-line interface can do many things, such as:
- Installing Magento
- Clearing the cache
- Managing indexes, including reindexing
- Configuring and running cron
- Compiling code
- Setting the Magento mode
- Setting the URN highlighter
- Creating dependency reports
- Creating translation dictionaries and language packages
- Deploying static view files
- Creating symlinks to LESS files
- Running unit tests
- Converting layout into XML files
- Generating data for performance testing
- Creating CSS from LESS (CSS real-time compilation)
Let’s see how this feature works. Continue reading