Project: titanium
Issue TIMOB-17590: CLI: Running "ti create --log-level” prompts for minimum log level value but giving an error message as well.
Description: Running "ti create --log-level" prompts the user for log level value along with the error message. The issue is reproducible with CLI 3.3.0. STEPS TO REPRODUCE 1. Open a terminal window 2. Run 'ti create --log-level' 3. Type in a valid Project name and all prompted values EXPECTED RESULT The CLI should prompt the user for log level value without giving the error message. ACTUAL RESULT {code} KAGRAWAL-MBP:Appcelerator_Studio_Workspace kagrawal$ ti create --log-level 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]: ipad Project name: example3 App ID: a.b Your company/personal URL: Directory to place project [.]: [ERROR] Invalid "--log-level" value "" Please select a valid log-level value: 1) trace 2) debug 3) info 4) warn 5) error Select a value by number or name: {code}
Story points: 5