Wondering if there a grails "command" in much the same way Yii framework for php has? It allows to run scripts like groovy console plugin. I just need to run some tests or scripts on current running app without starting another one environment which takes a lot of time.
I like Grails console, but maybe it's possible to run it from IDE (IDEA) ? Or even better to run tests the same way without need to restart an app. (compiling and database create-drop are annoying)
Tried to use --baseUrl with test-app, but it doesn't work, produces java.lang.IllegalStateException and it too slow too.
What could be the best way to run scripts on running app or tests?
UPDATE: THERE IS NOW run-script command anymore in Grails 3