[ALOY-206] Compose Alloy's list of CLI commands from the directories in Alloy/commands
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Low |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-09-20T11:56:51.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2012 Sprint 19, Release 3.0.0 |
| Components | Runtime |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-08-28T06:49:01.000+0000 |
| Updated | 2018-03-07T22:25:43.000+0000 |
Description
Right now the available commands are hard-coded in
Alloy/alloy.js. We should instead create the array of valid commands from the directory names listed in Alloy/commands and confirm that they have an index.js file in them.
https://github.com/appcelerator/alloy/blob/master/Alloy/alloy.js#L18-19
No comments