Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1200] Alloy CLI create option to generate a Titanium project

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterTim Statler
AssigneeUnknown
Created2014-12-11T16:58:25.000+0000
Updated2018-03-07T22:25:38.000+0000

Description

I've found myself creating lots of new Alloy projects from the command line, which first requires creating a Ti project, of course. To save some time, I created a shell script that takes a app name, runs ti create with some sensible defaults, and then runs alloy new on the new Titanium project folder. This has been especially useful in conjunction with ALOY-1115 to quickly create a project from one of the test apps. It would be useful, I think, if the Alloy CLI's create command included an option to create a new Titanium project, if one doesn't exist. This could either be an opt-in CLI switch, or maybe via a prompt ("No Titanium project found, would you like to create one?") instead of just throwing an error ("Resources not found"), which is not that helpful.

Comments

No comments

JSON Source