viatropos/tower — pull request #372 by btbinhtran (2012-12-26 21:59:44+00:00)
Title: Issue #365 - Added destroy command

I added a destroy command, refactored generator code to work with Tower.root to make generate destroy commands testable within test/example app.

Color coded logger for create actions. Also bolded the logger actions.

Destroy command handles:
* Model
* View
* Controller
* Service
* Helper
* Mailer
* Template
* Library
* Scaffold

Need to look into handling namespaces like in Rails.
Example:

**tower generate model Animal::Bird** would generate **app/models/animal/bird.rb**

and

**tower destroy model Animal::Bird** would delete **app/models/animal/bird.rb** and all the references.