melos icon indicating copy to clipboard operation
melos copied to clipboard

request: Display colors of exec command with melos

Open patou opened this issue 2 years ago • 2 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

No response

Description

When melos exec command from a melos run script, the ouput of command is printed without formating instead the melos output use formating (colors on the terms)

In this picture, the flutter test display +1 in green, but when exec with melos, there are no color image

If I run the command :

melos exec -- flutter format

The formating of the output use colors image

But if I use the melos run script :

  format:
    exec: dart format .
    description: Run `Flutter format`

The output of the command not use any formatting and colors : image

Reasoning

It's more readable to see result with formatting and colors.

Additional context and comments

No response

patou avatar Feb 09 '23 15:02 patou

This also heavily impacts the visual simplicity/readability of using spec from https://github.com/invertase/spec as none of the colors work which makes it quite hard to read.

RobertBrunhage avatar Aug 04 '23 11:08 RobertBrunhage