[ALOY-1200] Alloy CLI create option to generate a Titanium project
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Tooling |
| Labels | n/a |
| Reporter | Tim Statler |
| Assignee | Unknown |
| Created | 2014-12-11T16:58:25.000+0000 |
| Updated | 2018-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.
No comments