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

Add CLI options to control color output

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.2
    • Component/s: None
    • Labels:
      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

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                mryan Manuel Ryan
              • Votes:
                11 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: