[ALOY-96] Finalize Alloy CLI API for all build and generate commands
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-07-20T16:01:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK, Titanium Studio |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2012-07-16T19:47:44.000+0000 |
Updated | 2014-02-04T00:34:20.000+0000 |
Description
Comments
- Russell McMahon 2012-07-20
The following is the finalized list of Alloy commands and their args. The commands are callable once Alloy has been installed from it NPM package - http://search.npmjs.org/#/alloy.
alloy new
alloy compile [project/app dir] [platform - iphone, android] allor run [project] [platform - iphone, android] [Titanium SDK path] alloy generate model NAME [name:type name:type...] alloy generate migration NAME alloy generate controller NAME - Creates an empty controller alloy generate view NAME - Creates shell view and style file alloy generate sample NAME - Will take the Alloy sample and move it to project alloy generate template NAME - Will take the Alloy template and move it to project alloy generate widget NAME - Will take the Alloy template and move it to project alloy sample descriptors - Returns meta-data json file. Lists available sample also includes searchable tags alloy template descriptors - Returns meta-data json file. Lists available templates also includes searchable tags alloy widget descriptors - Returns meta-data json file. Lists available widgets also includes searchable tags <> - requiered [] - optional NAME - a string