Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17589] CLI: Running "ti create --url" does not prompt for your company/personal URL and creates the project successfully.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-02-06T21:05:15.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 4.0.0
ComponentsCLI
Labelsqe-3.4.0
ReporterKhushbu Agrawal
AssigneeFeon Sua Xin Miao
Created2014-09-02T04:23:31.000+0000
Updated2015-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.

Comments

  1. Feon Sua Xin Miao 2014-12-11

    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.
  2. Feon Sua Xin Miao 2014-12-11

  3. Tim Poulsen 2015-02-06

    CR & FR passed, merged
  4. Eric Wieber 2015-03-12

    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.

JSON Source