Topic: Execute rake task after scaffold

Hello,

Is it possible to set a rake task to run automatically every time a scaffold is created?
For instance, i run
    rails g scaffold Book
then the task SomeTask runs immediately after

Hugs,
Paulo