Make create-field and create-display to generate templates
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
Make a `gradle create-field-widget default/type` which will create a `_widget.gsp` in `views/_fields/type`, a `gradle create-field-widget pkg.Foo.prop` which will create a `_widget.gsp` in `views/foo/prop` by interrogating the domain class.
Make `gradle create-field-wrapper`, `gradle create-display-widget` and `gradle create-display-wrapper` that does the same thing for `_wrapper.gsp`, `_displayWidget.gsp' and `_displayWrapper.gsp`
Contributor guide
Research direction
Start with the Gradle entry points for create-field-widget, create-field-wrapper, create-display-widget, and create-display-wrapper. Compare the requested output paths under views/_fields/type and views/foo/prop, including domain-class interrogation for pkg.Foo.prop. Done means each command generates its corresponding GSP template in the requested location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100