Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15431] CLI: When cli.prompt set "false", command "ti sdk install -b master -d" returns error

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-12T01:08:59.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsCLI
Labelsqe-3.2.0, qe-closed-3.2.0
ReporterEric Merriman
AssigneeChris Barber
Created2013-10-08T22:48:10.000+0000
Updated2014-06-19T12:44:20.000+0000

Description

Description:

I was unable to install the latest version of master using the CLI and command "ti sdk install -b master -d". An error was returned:
[ERROR] No version specified
Chris investigated the code and discovered that if the config setting "cli.prompt" is false, then the command will fail as observed.

Steps to reproduce:

1) Ensure cli.prompt is set to false with: ti config cli.prompt "false" 2) Run command: ti sdk install -b master -d

Result:

Error as described above

Expected Result:

Latest master build installed and set as default SDK

Comments

  1. Chris Barber 2013-10-11

    Pull request: https://github.com/appcelerator/titanium/pull/61
  2. Olga Romero 2013-10-18

    Verified the fix with: CLI 3.2.0 from git://github.com/appcelerator/titanium.git Appcelerator Studio, build: 3.2.0.201310180526 I was able to install the latest master build and confirm the currently newest build. Closing as fixed.

JSON Source