{ "id": "159989", "key": "ALOY-1498", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-05-03T21:50:27.000+0000", "priority": null, "labels": [ "alloy", "cli", "samples", "templates", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2016-05-11T18:35:41.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "{quote}\r\nAs a developer,\r\nI want to be able to create a new Alloy app from a template other than the builtin Alloy sample apps,\r\nSo that I can save development time and errors when creating apps that need to conform to corporate (or other) standards.\r\n{quote}\r\n\r\nCurrently, as a developer, I can create a new Alloy app using\r\n{code}\r\nappc alloy new . --testapp NAME_OF_SAMPLE_APP\r\n{code}\r\n\r\n\r\nThe sample app must exist in the alloy\\samples\\apps directory. It would be nice to be able to point add other folders to this, perhaps in a similar way to ti config (paths.commands, paths.hooks, paths.plugins, etc) Maybe there could be a paths.samples property that could be used by developers to add other sample directories to be searched when using the --testapp parameter.", "attachment": [], "flagged": false, "summary": "Add ability to create new alloy app from apps other than builtin sample apps", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "384649", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Alloy should reference the paths.templates setting from the cli's config.json\r\n\r\nSee TIMOB-16620\r\n\r\nMost likely resolved with a unified cli/alloy tooling.", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-04T00:12:28.000+0000", "updated": "2016-05-04T00:12:28.000+0000" }, { "id": "385046", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~brentonhouse], Can you follow [~sfeather] comment, see if that helps you? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-06T21:35:51.000+0000", "updated": "2016-05-06T21:35:51.000+0000" }, { "id": "385077", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I believe he was referring to a proposed code change to Alloy. I don't think Alloy currently references paths.templates.", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2016-05-08T15:12:41.000+0000", "updated": "2016-05-08T15:12:41.000+0000" }, { "id": "385424", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Wouldn't this issue be part of the Alloy CLI and not the Titanium CLI?", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2016-05-11T18:04:29.000+0000", "updated": "2016-05-11T18:04:29.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }