Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can colored terminal output be disabled for sbt/play?

I would like to disable the color escape codes logged from sbt/play. Is this possible? And if it is, is there a way to do it without making changes to the config - i.e. via a command line switch or system property.

like image 577
Mark Hibberd Avatar asked Nov 24 '10 12:11

Mark Hibberd


Video Answer


1 Answers

Since version 0.13.8 (and possibly earlier) you can now simply use the -no-colors option to sbt. e.g.

sbt -no-colors test 
like image 189
Steven Shaw Avatar answered Oct 09 '22 11:10

Steven Shaw