How to rename the controller classes?

Hi all,

I want to rename a controller class that is created by script/generate
controller A

then I thought this name should be B.

So I dont want to change all files manually.

What the easy way to change the class name?

I want use like this

script/rename controller A B

Thank you