[TIMOB-17589] CLI: Running "ti create --url" does not prompt for your company/personal URL and creates the project successfully.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-06T21:05:15.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 4.0.0 |
Components | CLI |
Labels | qe-3.4.0 |
Reporter | Khushbu Agrawal |
Assignee | Feon Sua Xin Miao |
Created | 2014-09-02T04:23:31.000+0000 |
Updated | 2015-03-12T18:22:03.000+0000 |
Description
Description:
Running "ti create" prompts the user for your company/personal URL along with other inputs.
Running "ti create --url" skips that step and creates project successfully.
The issue is reproducible with CLI 3.3.0.
STEPS TO REPRODUCE
1. Open a terminal window
2. Run 'ti create --url'
3. Type in a valid Project name and all prompted values
EXPECTED RESULT
The CLI should notice the missing parameters for the url and ask for a valid input.
ACTUAL RESULT
The CLI creates the project successfully without prompting for the URL value.
currently
--url
option can have an empty value, for consistency we should output an error message and prompt, just like other options when no value is specified.CR & FR passed, merged
Verified fixed using: Titanium SDK 4.0.0.v20150312092612 Studio 4.0.0.201503062102 CLI 3.4.2 Xcode 6.2 Node 0.12 Warning is shown and user is prompted to enter a URL, as expected.