vanigor
vanigor

Reputation: 11

grails command line application

I have a grails web application with a domain model and a hibernate datasource persistence.

I would like to write now a command line tool in groovy to access also this domain model and the hibernate datasource.

Any ideas how I can do this?

regards Vanigor

Upvotes: 1

Views: 106

Answers (1)

Burt Beckwith
Burt Beckwith

Reputation: 75671

You can use Spring Boot as described in this article.

That example creates a small web UI, but Boot can be configured as a CLI app.

Upvotes: 2

Related Questions