[ 
https://issues.apache.org/jira/browse/MNG-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972687#comment-15972687
 ] 

ASF GitHub Bot commented on MNG-6220:
-------------------------------------

Github user mryan43 commented on the issue:

    https://github.com/apache/maven/pull/114
  
    Good idea to align the name of choices with grep, I just changed it.
    
    About "isatty", do you think we should set the jansi.force system property 
when --color is set to "always" ? 
https://github.com/fusesource/jansi/blob/2616142fda4425d779ac94a3d9bfa76412021b23/jansi/src/main/java/org/fusesource/jansi/AnsiConsole.java
     


> 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)

Reply via email to