If you wish to modify the default HTML output produced by the “bake” command, follow these simple steps:
For baking custom views:
Go into: cake/console/libs/templates/views
Notice the 4 files there
Copy them to your: app/vendors/shells/templates/views.
Make changes to the HTML output to control the way “bake” builds your views
For baking custom projects:
Go into: cake/console/libs/templates/skel
Notice the base application files there
Copy them to your: app/vendors/shells/templates/skel
Make changes to the HTML output to control the way “bake” builds your views
Pass the skeleton path parameter to the project task
cake bake project -skel vendors/shells/templates/skel
Notes
You must run the specific project task cake bake project
so that
the path parameter can be passed.
The template path is relative to the current path of the Command Line Interface.
Since the full path to the skeleton needs to be manually entered, you can specify any directory holding your template build you want, including using multiple templates. (Unless Cake starts supporting overriding the skel folder like it does for views)