Skip to content

This is a bash script (originally written by Fernando Takai) that sets up auto-completes for all grails commands - for example, install-plugins lists all plugins, generate-(views|controller|all) completes domain classes, test-app all your tests and etc.

Notifications You must be signed in to change notification settings

erdi/grails-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

This is a bash script (originally written by Fernando Takai) that allows auto-completion of grails commands from the command line. Basically extending the bash-like auto-completion functionality to include grails commands.

To use it you have to have gawk (it's default on some linux distros -- but on mac, you have to install trough mac ports)

To start using it you need to add this:
[ -r /path/to/the/file ] && source /path/to/the/file

To the top of your ~/.bashrc or ~/.bash_profile scripts.

For your changes to take affect you must open a new shell or re-login to your current shell (su - your_user).

To use it, just go your grails project and try:
grails list<tab>
grails create<tab><tab>
grails create-a<tab><tab>

Download this script from GitHub:
https://github.com/podollb/grails-autocomplete/archives/master

About

This is a bash script (originally written by Fernando Takai) that sets up auto-completes for all grails commands - for example, install-plugins lists all plugins, generate-(views|controller|all) completes domain classes, test-app all your tests and etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published