]
Lincoln Baxter III commented on SEAMFORGE-28:
---------------------------------------------
Potential syntax:
@Command
public void command(
@Option(... selectOneGroup="targets" ...) Resource<?> path,
@Option(... selectOneGroup="targets" ...) String gav )
{
//do stuff
}
Should provide ability to specify mutually exclusive command options
--------------------------------------------------------------------
Key: SEAMFORGE-28
URL:
https://issues.jboss.org/browse/SEAMFORGE-28
Project: Seam Forge
Issue Type: Feature Request
Components: Plugin API
Affects Versions: 1.0.0.Alpha1
Reporter: Lincoln Baxter III
Priority: Minor
When developing Plugin @Commands, it is sometimes convenient to specify options from
which only one must be selected
For example:
* providing a maven GAV "org.jboss.seam.forge:forge-parent:1.0.0"
* specifying the path to said project "~/projects/forge/"
Both inputs are valid, but only one is required. If one is selected, the other should be
hidden from completion. (Or some such interaction.)
If both are missing, Forge should prompt for one to be completed.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: