I want to export the customer details as a CSV file. I have referred the below link for that:
https://magecomp.com/blog/export-data-csv-file-programmatically-magento-2/
I have put the code which is in the mentioned link to one of my custom module but where I have to check the controller output.
where the CSV file will be stored?
Any help will be appreciated!