The custom console commands in Magento 2 are very useful when you
Author: Mical
![How to run reindexing programmatically in magento 2](https://mageclues.com/wp-content/uploads/2021/01/how-to-run-reindexing-programmatically-in-magento-2.png)
The blog is about how you can perform reindexing programmatically in Magento
![Quickly exclude export fields from product export in Magento 2](https://mageclues.com/wp-content/uploads/2021/01/quickly-exclude-export-fields-from-product-export-in-magento-2.png)
In Magento, You can export products in CSV file with all product
![How to Create a CSV file in Magento 2](https://mageclues.com/wp-content/uploads/2021/01/how-to-create-a-csv-file-in-magento-2.png)
In this article, we will explain you, how to create a CSV
![Speedy Log in Custom File in Magento 2](https://mageclues.com/wp-content/uploads/2020/12/speedy-log-in-custom-file-in-magento-2.png)
In this blog, I will instruct you a very useful speedy debug/hack
![How to Use Defined Methods from Context Object in Magento 2](https://mageclues.com/wp-content/uploads/2020/12/how-to-use-defined-methods-from-context-object-in-magento-2.png)
In Magento2, when you have executed compile command(php bin/magento setup:di:compile) from CLI
![How to Get Base URL in Magento 2](https://mageclues.com/wp-content/uploads/2020/10/how-to-get-base-url-in-magento-2.png)
In Magento 1, it was easier to get the base URL using
![How to Call Helper Function in phtml in Magento 2](https://mageclues.com/wp-content/uploads/2020/10/how-to-call-helper-function-in-phtml-in-magento-2.png)
In Magento 2, the Helper can be called in controllers, models, views
![How to create custom helper in Magento 2](https://mageclues.com/wp-content/uploads/2020/10/how-to-create-custom-helper-in-magento-2.png)
First of all, you need to create new custom module with following