It would be nice to redefine the main.cpp file.
In platformio-core\platformio\commands\home\rpc\handlers\project.py there is a method (_generate_project_main) to generate de default main.cpp.
I have a custom framework and I would like to create a default main.cpp.
Is it possible ?