[TIMOB-14755] CLI: 'titanium project' outputs debug messages when --output json
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-28T16:33:12.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0 |
Components | CLI |
Labels | qe-closed-3.2.0 |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-08-02T21:28:10.000+0000 |
Updated | 2013-11-20T02:42:41.000+0000 |
Description
From a project dir, run "ti project -o json --log-level trace" and you'll get:
[DEBUG] No project level plugins to load
[DEBUG] Loaded plugin hooks:
[DEBUG] /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/cli/hooks/plugins.js
{
"deployment-targets": {
"android": true,
"blackberry": true,
"ipad": true,
"iphone": true,
"mobileweb": true,
"tizen": true
},
"sdk-version": "3.1.1.GA",
"id": "com.appcelerator.testapp2",
"name": "testapp2",
"version": "1.0",
"publisher": "not specified",
"url": "http://www.google.com/",
"description": "not specified",
"copyright": "not specified",
"icon": "appicon.png",
"analytics": true,
"guid": "0cf6aa04-a863-4a4c-8262-e8a04bc124f2"
}
If you run "ti project -o json --log-level info", it works as expected.
Just need to suppress all log output when outputting as json.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4861