Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18936] CLI: Titanium logging does not have colored text unless passing in the --colors flag

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-12-18T15:02:34.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 4.0.2
ComponentsCLI
Labelsqe-4.0.0, regression
ReporterEwan Harris
AssigneeMuhammad Dadu
Created2015-05-21T20:12:15.000+0000
Updated2017-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

  1. Muhammad Dadu 2015-05-21

    PR: https://github.com/appcelerator/titanium/pull/221

JSON Source