Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16683] CLI: Running "ti create -p" does not prompt platforms to be used and creates all platforms project

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-03-25T21:17:28.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 06, 2014 Sprint 06 Tooling, Release 3.2.3, Release 3.3.0
ComponentsCLI
Labelsqe-3.2.3, qe-testadded
ReporterOlga Romero
AssigneeChris Barber
Created2014-03-24T21:00:18.000+0000
Updated2014-06-19T12:43:26.000+0000

Description

Description

Running "ti create" prompts the user to pick a platform for the project. Running "ti create -p" skips that step and prompts for the Project name.

Steps To Reproduce

1. Open a terminal window 2. Run 'ti create -p' 3. Type in a valid Project name and all prompted values

Expected Result

The CLI should notice the missing parameters for the platform and ask for a valid input.

Actual result

CLI creates the project for all available platforms

Comments

  1. Chris Barber 2014-03-25

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5529 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5530
  2. Samuel Dowse 2014-03-25

    Verified fixed on: Mac OSX 10.9.2 Appcelerator Studio, build: 3.2.3.201403250634 Titanium SDK, build: 3.2.3.v20140325145222 CLI: 3.2.3-dev Alloy: 1.3.1 ti create -p prompts the user to select a platform rather than building for all. Closing.

JSON Source