Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17137] CLI should not prompt for company/personal URL

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-09-20T06:50:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelscli, create
ReporterFokke Zandbergen
AssigneeChris Barber
Created2014-06-11T06:39:17.000+0000
Updated2017-03-23T22:33:12.000+0000

Description

Comments

  1. Chris Barber 2014-06-11

    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.
  2. Fokke Zandbergen 2014-06-11

    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.
  3. Chris Barber 2014-06-11

    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.
  4. Chris Barber 2016-09-20

    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.
  5. Lee Morris 2017-03-23

    Closing ticket as Won't Fix with reference to the above comments.

JSON Source