-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shell: Implement -force for create-* YML commands
- Loading branch information
Graeme Rocher
authored and
Graeme Rocher
committed
Feb 11, 2015
1 parent
2dd96b3
commit 2ff83e7
Showing
5 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ description: | |
- completer: org.grails.cli.interactive.completers.DomainClassCompleter | ||
- argument: "Interceptor name" | ||
description: "The name of the interceptor" | ||
- flag: force | ||
description: Whether to override existing files | ||
|
||
steps: | ||
- command: render | ||
template: templates/artifacts/Interceptor.groovy | ||
|
@@ -13,4 +16,3 @@ steps: | |
template: templates/testing/Interceptor.groovy | ||
convention: Interceptor | ||
destination: src/test/groovy/@artifact.package.path@/@[email protected] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
description: | ||
- Creates a Tag Library | ||
- usage: 'create-taglib [taglib name]' | ||
- completer: org.grails.cli.interactive.completers.DomainClassCompleter | ||
- argument: Tag Library Name | ||
description: The name of the tag library | ||
- flag: force | ||
description: Whether to override existing files | ||
steps: | ||
- command: render | ||
template: templates/artifacts/TagLib.groovy | ||
convention: TagLib | ||
destination: grails-app/taglib/@artifact.package.path@/@[email protected] | ||
- command: render | ||
template: templates/testing/TagLib.groovy | ||
convention: TagLib | ||
destination: src/test/groovy/@artifact.package.path@/@[email protected] |