On his ThinkingPHP blog today, Felix Geisendorfer hands out mor eCakePHP goodness with some talk about working with the popular CakePHP framework in an unlikely place - on the command line with the "bake" utility.
The "bake" utility is included with the CakePHP distribution and helps a developer scaffold out an application with minimal effort. Things have been changed in the recent distributions, though:
Unlike the old bake.php, which was only used to auto-generate code for you, this one follows a much cooler concept. The main idea is to have an interface to a wide variety Tasks.
The new and improved "bake" program takes the tasks created and builds out a bit more functionality than just the scaffolding as the version before did. Felix includes an example of a task (a simple echo) just to show how it's formatted.