[TIMOB-17137] CLI should not prompt for company/personal URL
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-09-20T06:50:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | cli, create |
Reporter | Fokke Zandbergen |
Assignee | Chris Barber |
Created | 2014-06-11T06:39:17.000+0000 |
Updated | 2017-03-23T22:33:12.000+0000 |
Company URL is not required if you pass in
\-\-no-prompt
. In fact, the only required options are\-\-name
and\-\-id
. The idea is if you have prompting enabled, then it's ok to prompt for these fields. I guess I didn't think it was that annoying and figured somebody may appreciate being able to set it at app creation time instead of forgetting to do it later.I've always seen the prompt mode (which is the default right?) as a back fall, only asking for required missing options. Maybe we need 3 modes? 1.
--no-prompt
: Never prompt, just fail if required options are missing 2.--all-prompt
: Prompt for all possible options not set via args 3.--req-prompt
: Only prompt for missing required options And I think the 3rd should be default.I'd much rather only prompt for missing required options instead of adding 2 new prompt related flags. The fix is trivial. I'll bring it up tomorrow in the triage meeting.
When creating a project, it is by design that we prompt for project information, required or not. This is a usability thing. If you already have a URL in the tiapp.xml, then you simply need to press enter to accept the default. Resolving as won't fix.
Closing ticket as Won't Fix with reference to the above comments.