[TIMOB-11516] CLI: Mobile Web uses different short-option for deploy-type
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-18T00:39:58.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 21 JS, 2012 Sprint 21 |
Components | Tooling |
Labels | n/a |
Reporter | Arthur Evans |
Assignee | Chris Barber |
Created | 2012-10-17T01:08:37.000+0000 |
Updated | 2012-12-04T00:34:00.000+0000 |
Description
Currently, for mobile web the CLI is showing:
-B, --deploy-type the type of deployment; production performs optimizations [production, development]
Both iOS and Android support:
-D, --deploy-type type of deployment (production, development). (Android also supports "test", I think.)
For consistency, we should use the same short option to correspond to a given long option thoughout--otherwise, it's just confusing for the user.
We're going to continue to add new platforms, so the more uniformity we can build in, the easier it's going to be on the user.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3279 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3280
Currently we do not support deploy-type for android as it is still using the old build script.