Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6220

Add CLI options to control color output

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.2
    • None
    • None

    Description

      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.

      --color=enabled <- color output always enabled
      --color=disabled <- color output always disabled
      --color=auto <- current behavior (default)
      

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              mryan Manuel Ryan
              Votes:
              11 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: