Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Thursday, September 8, 2022

How to Add CLI Commands in Magento 2

You as of now have the rundown of Magento 2 SSH orders.


Order Line Point of interaction (CLI) permits the engineers to utilize default orders to oversee modules and files, produce classes and do data set refreshes. The uplifting news is, Magento engineers can add their own custom CLI orders. Today, I have thought of an answer for add custom CLI order in Magento 2.


Magento 2 CLI orders are valuable for undertakings like:


  1. Introduce Magento

  2. Update information base mapping

  3. Store clear

  4. Overseeing files, including reindexing

  5. Making interpretation word references and interpretation bundles.

  6. Producing non-existent classes like manufacturing plants and interceptors for modules, creating the reliance infusion design for the article chief.

  7. Conveying static view records.

  8. Making CSS from Less.


Here, I have taken a guide to add CLI commands for Magento 2 that can play out different undertakings like storing, ordering, conveying and updating.


You can utilize this answer for play out any undertaking with a custom order rather than from the backend which would just be faster!


For more info , visit : https://meetanshi.com/blog/add-cli-commands-in-magento-2/


No comments:
Write comments


Get more of our update !