Skip to content

Instantly share code, notes, and snippets.

@alterisian
Created November 11, 2010 11:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alterisian/672388 to your computer and use it in GitHub Desktop.
Save alterisian/672388 to your computer and use it in GitHub Desktop.
Grails Command Line Cheat Sheet
grails create-app Creates a Grails application for the given name
grails create-domain-class Creates a new domain class
grails generate-all Generates a CRUD interface (controller + views) for a domain class
grails install-plugin Installs a plug-in for the given URL or name and version
grails create-controller Creates a new controller
grails interactive Starts Grails CLI (script runner) in interactive mode.
Keeps the JVM running between grails commands for faster script execution.
grails console Load the Grails interactive Swing console
grails run-app grails [environment]* run-app - Runs a Grails application
@alterisian
Copy link
Author

You can get this info via grails help, and then grails help but it's handy to have the more frequently accessed commands in one place for me - similar to rails help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment