[TIMOB-18936] CLI: Titanium logging does not have colored text unless passing in the --colors flag
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-12-18T15:02:34.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | Release 4.0.2 |
Components | CLI |
Labels | qe-4.0.0, regression |
Reporter | Ewan Harris |
Assignee | Muhammad Dadu |
Created | 2015-05-21T20:12:15.000+0000 |
Updated | 2017-12-18T15:02:45.000+0000 |
Description
Description
*This is a regression as there is colored text in 4.0.0*
When running any titanium command, the output will not have colors unless the --colors flag is passed in even if the cli.colors in the titanium config is set to true
Steps To Reproduce
1. Install 4.1.0-dev Titanium CLI
2. Run a command such as ti info
3. Run a command with the colors flag such as ti info --colors
Actual Result
2. No colors will be printed out
3. Colors will be printed out
Expected Result
Colors should be printed out in both circumstances if cli.colors in the config is set to true
Comments
JSON Source
PR: https://github.com/appcelerator/titanium/pull/221