The create-tag-lib command will create a tag library and associated integration test for the given base name.


grails create-tag-lib book


Creates a tag library for the give base name. For example for a base name book a tag library called BookTagLib will be created in the grails-app/taglib directory.

A tag library is a "view helper" that in MVC terms helps the view with rendering by providing a set of re-usable tags. For more information on tags refer to the section on Tag Libraries in the user guide.

Note that this command is merely for convenience and you can also create controllers in your favourite text editor or IDE if you choose.


grails create-tag-lib [name]

Fired Events: