I need the scaffold functionality. For that instead of doing create-controller and manually adding the
def scaffold = true
to each controller, I installed templates and added
def scaffold = true
inside src/templates/artifacts/Controller.groovy file as below.
@artifact.package@class @artifact.name@ {
def scaffold = true
}
The interesting fact is create-* only works for this case.
Question: Instead of create-controller class_name one by one, is there a way to create-controller * functionality like generate-controller *?