[TIMOB-19281] CLI: Values passed in on project creation using shorthand options seem to be ignored
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-04T19:52:54.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | CLI |
Labels | qe-5.0.0, regression |
Reporter | Ewan Harris |
Assignee | Chris Barber |
Created | 2015-07-29T18:00:22.000+0000 |
Updated | 2015-08-06T22:00:17.000+0000 |
Description
Description
When passing values using the shorthand flags such as ti create -t app -n eric -p all -d C:\Users\Windo_000\Documents\Appcelerator_Studio_Workspace\testing --id com.appc
you will still be prompted for the values, whereas when passing in ti create --type app --name ewan --platforms all --workspace-dir C:\Users\Windo_000\Documents\Appcelerator_Studio_Workspace\testing --id com.appc -u www.blah.com
.
This only appears to be happening when using the Titanium CLI, when using the Appc CLI there is no prompting if these values are passed in.
*This is a regression*
Steps to reproduce
1. Run the following command {ti create -t app -n eric -p all -d C:\Users\Windo_000\Documents\Appcelerator_Studio_Workspace\testing --id com.appc -u www.blah.com
Actual result
You will be prompted for the values
Expected result
You should not be prompted for the values
Comments
JSON Source
PR: https://github.com/appcelerator/titanium/pull/230
Closing ticket as fixed. Verified that if you pass in all the required shorthand (and long form) flags to Titanium CLI, you will not be prompted for the values. Tested on: Ti CLI: 4.1.4 SDK: 4.2.0.v20150805163626 Node: v0.10.38 OS: Yosemite (10.10.4)