[TIMOB-17607] CLI: Some iOS build options with "ti build -p iOS" command prompts for input value along with error message.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-12-08T19:37:31.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | n/a |
Components | CLI |
Labels | qe-3.4.0 |
Reporter | Khushbu Agrawal |
Assignee | Feon Sua Xin Miao |
Created | 2014-09-03T10:19:15.000+0000 |
Updated | 2017-03-20T21:51:19.000+0000 |
I'm not sure we needed both tickets. I assume the underlying issue is similar.
[~ingo], Just giving more clarification on the above tickets. With this ticket TIMOB-17607, CLI just gives error message with the above specified options and prompt the user for the input value.After user provides the input value, CLI reads that value and project builds successfully. With the other ticket TIMOB-17605, CLI does not read the platform value provided by user for the prompt and gives error message and stop the project building process.So the user will not be able to build the project in this case.
PR: https://github.com/appcelerator/titanium/pull/172 Follow the
STEPS TO REPRODUCE
listed above, no error message if the option has command prompt available.I have actually run into this issue myself where I type a long 2-3 line command and forget to specify an option value. Since I get the error message, I know exactly why I am being prompted for an already specified option. If we remove this error message then I have no idea why I am being prompted for an option I have already specified. I would recommend keeping this error message as it is very helpful. I am resolving this ticket as invalid but I am open to discussion if you disagree. It is really easy to "fix" these type of issues but we need to take a step back and understand the user experience.
You have a valid point! The error prompt might seem a little obtrusive initially, but it has been a useful reminder. It didn't come across my mind that this could be by design. :)
I agree that it should be consistent. Either we display a message in all cases or we don't display it at all. I have never used "V" option. Is it a shorthand version of "--developer-name"?
Yup, it's required when target is device.
[~ngupta] Yes, -V option is a shorthand version for specifying developer name for iOS.
Closing ticket as invalid.