generate models/controllers/migrations/scaffold within an existing plugin

Hi, i have newly discovered Rails , and currently trying to write a plugin. the problem is that i couldn't find any generators script (like script/ generate or rails generate) to add models or migrations. i want to add them smoothly like in the standard application. i need your help. thanks in advance

Now you have discovered the documentation that will allow you to answer your above question.

http://guides.rubyonrails.org/getting_started.html

B.