Is it possible to use crud in script file

I need to crud 160 tables in an existing datase, Is it possible to use crud in script file ? :huh:

something like => $ yii::crud %1

because i have tryed same tou "model *":

>> crud *

and i get an error