Quantcast

[Commented] (MNG-6220) Add CLI options to control color output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Commented] (MNG-6220) Add CLI options to control color output

JIRA jira@apache.org

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

Robert Scholte commented on MNG-6220:
-------------------------------------

I don't think that colors are build specific properties. I can't think of a reason why you want to have colors for some builds and no colors for others. Instead it is a global settings for your environment/system. Hence, SystemProperties  makes more sense to me.

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