How to export a view to module file with CTool Bulk Export module?
I figured it out.

@kiamlaluno, the 'export' link in your answer (screenshot) does not require Chaos tool, it comes out of box of views. And it only exports view code, to module file. 

To export to module, goto admin/structure/bulk-export, then tick views,