[ https://issues.apache.org/jira/browse/MNG-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978199#comment-15978199 ]
ASF GitHub Bot commented on MNG-6220: ------------------------------------- GitHub user mryan43 opened a pull request: https://github.com/apache/maven-shared/pull/22 Add color support auto detection in MessageUtils Linked to PR https://github.com/apache/maven/pull/114 and task https://issues.apache.org/jira/browse/MNG-6220 You can merge this pull request into a Git repository by running: $ git pull https://github.com/mryan43/maven-shared trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-shared/pull/22.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22 ---- commit 6f3e71b3a2d9cc57b4a45a7d4bd354094cebcc5c Author: mryan43 <r...@shamu.ch> Date: 2017-04-20T22:38:39Z add utility method to auto detect color support commit 6839dd1d45a71d0667c58460a4e5a0e9588ea1f7 Author: mryan43 <r...@shamu.ch> Date: 2017-04-21T07:08:06Z test for jansi availability when auto detecting color support ---- > Add CLI options to control color output > --------------------------------------- > > Key: MNG-6220 > URL: https://issues.apache.org/jira/browse/MNG-6220 > Project: Maven > Issue Type: New Feature > Reporter: Manuel Ryan > > Currently, the only way to enable/disable color output is to use the > batch-mode or log-file options. > If a user wants colored output but no interactivity (ie: jenkins environment > with the ansicolor plugin), there is no CLI option combination to support the > use-case. > I propose to add an option to control output coloring directly. > {noformat} > --color=enabled <- color output always enabled > --color=disabled <- color output always disabled > --color=auto <- current behavior (default) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)