Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11869] CLI: Missing values prompt needs to process values iteratively

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-08-02T23:13:36.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0
ComponentsCLI
Labelsjs, qe-cli, qe-closed-3.2.0, qe-testadded
ReporterNatalie Huynh
AssigneeChris Barber
Created2012-11-27T23:14:59.000+0000
Updated2014-04-22T07:24:34.000+0000

Description

Steps to Reproduce: 1. run "titanium build -T dist-playstore" Actual: [Error] Invalid required option --alias Expected: Should ask for the alias Workaround run "titanium build --platform android -T dist-playstore

Attachments

FileDateSize
mykeystore2013-07-30T19:17:40.000+00001370

Comments

  1. Natalie Huynh 2012-11-28

    Also occurs when passing iOS target options without specifying the platform first. [ERROR] Unable to find an iOS Distribution Certificate for name "undefined"
  2. Chris Barber 2013-04-04

    We need to first parse the entire list of args and translate abbreviations. This must be done with out knowledge of the commands, options, flags, and arguments. Once parsed, then we: 1. Process global options/flags 2. Identify the command 3. Attempt to find an --sdk and --platform 4. Process command options/flags 5. If SDK command, process SDK-level options/flags
  3. Chris Barber 2013-07-26

    https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
  4. Chris Barber 2013-07-30

    To test, run a build with a build-related option/flag BEFORE the "build" command.
       ti -T device build
       
    Another example would be:
       ti build -T dist-playstore --password 123123
       
    I've attached my test keystore for you to use. Alias is "myalias". Password is "123123".
  5. Olga Romero 2013-11-20

JSON Source