Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19226] Add support for option branches

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-07-24T01:14:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.0.0
ComponentsCLI
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2015-07-16T21:45:22.000+0000
Updated2017-03-16T21:08:38.000+0000

Description

There is a need for the Titanium CLI to alter the available options and flags based on another option's value. Today, we have hard coded support for "platforms". This is bad, but oh well. \-\-platform is an SDK level option, however the Titanium CLI itself will prompt for it and loads the platform specific options and flags. This ticket is to add support for generic option branching. On a side note, someday \-\-platform could be changed to use the option branching, but there would need to be special care to make sure the Titanium CLI remains backwards compatible with older SDKs.

Comments

  1. Chris Barber 2015-07-16

    PR: https://github.com/appcelerator/titanium/pull/225 As of 7/16/2015, no Titanium SDK utilizes option branching, so you can basically test that I didn't break anything by running ti build -h and building any app for any platform. Eventually you'll be able to test this using the ti create command.
  2. Praveen Innamuri 2015-07-24

    PR merged.
  3. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source