{ "id": "115782", "key": "TIMOB-14177", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15927", "description": "2014 Sprint 04", "name": "2014 Sprint 04", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15928", "description": "2014 Sprint 04 Core", "name": "2014 Sprint 04 Core", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-28T00:47:52.000+0000", "created": "2013-06-11T13:47:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_titanium", "qe-closed-3.2.3", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-24T07:00:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When creating a new titanium project with the CLI with *ti create*, one of the required parameters is a list of supported platforms as specified by the *\\-\\-platforms* option, or filled in when prompted. In order to make automation of *ti create* easier, it would be ideal if when *\\-\\-no-prompt* is used that the CLI would automatically use the default listing of platforms, which seems to be all supported platforms. For example, if I do the following:\r\n\r\n{code}\r\nti create --id com.testing.myapp --name myapp --workspace-dir . --no-prompt \r\n{code} \r\n\r\nI get the following error:\r\n\r\n{code}\r\n[ERROR] Missing required option \"--platforms\"\r\n{code}\r\n\r\nIt would be much nicer if instead the default value for platforms was used (the default value that shows up during the prompting process) so that I'm not forced to explicitly list all platforms in my scripting, especially since that list of platforms is dependent on the current TiSDK being used.", "attachment": [], "flagged": false, "summary": "CLI: Default to all supported platforms when no --platforms argument is supplied in \"ti create\"", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI 3.1.1\r\nTiSDK 3.1.1", "comment": { "comments": [ { "id": "290360", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5285\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5286", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-30T00:13:28.000+0000", "updated": "2014-01-30T00:13:28.000+0000" }, { "id": "298488", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the default to all supported platforms.\nAppcelerator Studio, build: 3.2.3.201403190645\nTitanium SDK, build: 3.2.3.v20140324114345\nNode.JS Version: v0.10.13\nNPM Version: 1.3.2\n├── acs@1.0.14\n├── alloy@1.3.1\n├── npm@1.3.2\n├── titanium@3.2.1\n└── titanium-code-processor@1.1.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-24T21:51:44.000+0000", "updated": "2014-03-24T21:51:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }