[
https://issues.jboss.org/browse/FORGE-2041?page=com.atlassian.jira.plugin...
]
George Gastaldi commented on FORGE-2041:
----------------------------------------
{quote}
<lincolnthree> gastaldi: we should have more of a wizard flow when working in
prompts like that
<gastaldi> so we should improve the message?
<gastaldi> hm
<lincolnthree> gastaldi: it would be nice if it said the description of the command
and started walking through prompts, if not all inputs are satisfied
<lincolnthree> gastaldi: it should probably also walk through default options even
if they have been specified
<lincolnthree> gastaldi: so basically, omitting a required option should send you
into prompt mode
<lincolnthree> gastaldi: where it goes through and confirms all values that you
haven't actually specified
<lincolnthree> gastaldi: in the initial line
<gastaldi> even for the not required inputs?
<lincolnthree> yea, i think so
<lincolnthree> but it should also say, "Press <ENTER> to use the default
value [Value]
<lincolnthree> (after giving a description of what the value is
<lincolnthree> gastaldi: right now theres no way to use a wizard if any values were
omitted on the CLI. it will just default to defaults
<lincolnthree> gastaldi: and if we're going to prompt at all, instead of just
failing, i think it makes sense to do this
<gastaldi> hmmmm
<gastaldi> right
<gastaldi> that would be a more "wizard-like" experience
<gastaldi> should that be triggered only if a required input is not provided?
<lincolnthree> gastaldi: yes, I think so
<lincolnthree> gastaldi: only if they miss something required
<lincolnthree> it should say something like, (Required inputs not satisfied,
entering interactive mode.)
<lincolnthree> then give a description of the command, and a description of each
input as they are prompted
<lincolnthree> (obviously they won't be able to go back)
<lincolnthree> (but it should be pretty easy to walk through all inputs)
{quote}
parameterless wizards are not friendly
--------------------------------------
Key: FORGE-2041
URL:
https://issues.jboss.org/browse/FORGE-2041
Project: Forge
Issue Type: Feature Request
Affects Versions: 2.12.2.Final
Reporter: Jess Sightler
Fix For: 2.12.3.Final
Example usage:
[tmp]$ project-new
Project name: Whatwillthisdo
***SUCCESS*** Project named 'Whatwillthisdo' has been created.
That doesn't seem like I provided enough information for it to do anything useful,
but that is the only question that it asked. And the logging is insufficient to know what
kind of project it created or any other used defaults.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)