[
https://issues.jboss.org/browse/FORGE-1485?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-1485.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
Rename --target for faces-new-validator-method command
-------------------------------------------------------
Key: FORGE-1485
URL:
https://issues.jboss.org/browse/FORGE-1485
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.0.0.CR2
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Fix For: 2.0.0.Final
The {{faces-new-validator-method}} has a {{--target}} parameter but without TAB
completion, we don't know what this actually targets. When we hit TAB we get :
{code}
[Language.java]$ faces-new-validator-method --target
Author.java Item.java Language.java Publisher.java
{code}
Most of the {{target}} parameters are suffixed to be more explicit :
{code}
entities-from-tables --targetPackage
faces-new-converter --targetPackage
project-new --targetLocation
{code}
So I would rename it {{targetClass}} :
{code}
faces-new-validator-method --targetClass
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira