Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRAILS-11935 Improvise display of create-app/create-plugin commands usage #569

Merged
merged 1 commit into from Feb 17, 2015

Conversation

dmahapatro
Copy link

Improvised default commands create-app/create-plugin to include available profiles as shown below:

Dhirajs-MBP:projects dmahapatro$ grails
Usage: 
     create-app [NAME] --profile=web 
     create-plugin [NAME] --profile=web-plugin 

| Available Profiles
--------------------
* base - The base profile extended by other profiles
* plugin - Profile for plugins designed to work across all profiles
* web - Profile for Web applications
* web-micro - Profile for creating Micro Service applications run as Groovy scripts
* web-plugin - Profile for Plugins designed for Web applications

Type 'grails help' or 'grails -h' for more information.

Also added -v short option for grails -version.

Dhirajs-MBP:projects dmahapatro$ grails -v
| Grails Version: 3.0.0.BUILD-SNAPSHOT
| Groovy Version: 2.4.0
| JVM Version: 1.7.0_75

grails -v is similar to the short version of grails -h (for grails help)

osscontributor pushed a commit that referenced this pull request Feb 17, 2015
GRAILS-11935 Improvise display of create-app/create-plugin commands usage
@osscontributor osscontributor merged commit 52d6966 into grails:master Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants