Lincoln Baxter III created FORGE-1114:
-----------------------------------------
Summary: Support multi-step UIWizard commands in Shell
Key: FORGE-1114
URL:
https://issues.jboss.org/browse/FORGE-1114
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.0.0.Alpha10
Reporter: Lincoln Baxter III
{code}
$ new-project --named blah
User presses <TAB>:
Options from Step 1 are displayed (Step 1 not yet valid):
--type (required)
--targetDir
--topLevelPackage
$ new-project --named blah --type “Forge Addon”
User presses <TAB>:
Options from Step 1 AND Step 2 are displayed (Step 1 is valid):
--targetDir (Step 1)
--topLevelPackage (Step 1)
--projectLayout (Step 2)
--installAddons (Step 2)
$ new-project --named blah --type “Forge Addon” --projectLayout complex
User presses <TAB>:
Options from Step 2 only are displayed:
--installAddons
$ new-project --named blah --type “Maven” --projectLayout complex
User presses <TAB>
Shell throws error:
“--projectLayout is not a valid input for “MavenProjectStep”
Re-display previous line and let the user fix it. (Completion fails, but command line
preserved.)
$ new-project --named blah --type “Maven” --projectLayout complex
{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