Project: titanium
Issue TIMOB-17583: CLI: Running "ti create --workspace-dir” prompts for the directory to place the project but giving the error message as well
Description: Running "ti create" prompts the user for the directory to place the project in. Running "ti create --workspace-dir" prompts the user for the directory to place the project along with the error message as well. The issue is reproducible with CLI 3.3.0. STEPS TO REPRODUCE 1. Open a terminal window 2. Run 'ti create --workspace-dir' 3. Type in a valid Project name and all prompted values EXPECTED RESULT The CLI should prompt for the directory to place the project in without giving an error message. ACTUAL RESULT {code} KAGRAWAL-MBP:Appcelerator_Studio_Workspace kagrawal$ ti create --workspace-dir Titanium Command-Line Interface, CLI version 3.4.0-dev, Titanium SDK version 3.4.0.v20140829184521 Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ What type of project would you like to create? 1) app 2) module Select a type by number or name [app]: 1 Target platform (all|iphone|ipad|mobileweb|android|blackberry) [all]: all Project name: example1 App ID: abc Your company/personal URL: [ERROR] Please specify the workspace directory Directory to place project [.]: [INFO] Creating app project {code}
Story points: 5