New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support colored output from original CLI #223
Comments
|
I would be willing to make a PR for this if applicable. Thanks! |
|
Go for it. |
|
Start here: turborepo/cli/internal/run/run.go Line 716 in 155c5c3
and around here is where to set FORCE_COLOR: turborepo/cli/internal/run/run.go Line 487 in 155c5c3
|
|
Thanks! I'll work on it tomorrow night. |
|
Yes! Thank you. With a different profile picture. |
|
I had a little time to try implementing this and found that the I'll work on this more tomorrow. Let me know if you have any ideas. Go is a new language to me. |
|
I am making good progress on this. |
|
Is there any update on this? |
|
If you're using node, you can set FORCE_COLOR=1 in your environment variables. The PR hasn't been reviewed. |
|
@charkour Yea that's what I'm currently using, but it seems like quite a dirty solution, For example, if you have 10 packages with each of them having roughly ~4 commands I think it would be much better to use |

Describe the feature you'd like to request
Show original CLI colors in the output.
Describe the solution you'd like
I would like to be able to have a
--colorsflag when running turbo to enable colors of the CLI output, including the output from the sub packages/apps.turbowould likely set the environment variableFORCE_COLOR=1before running commands.Describe alternatives you've considered
Manually setting the monorepo's environment variable to
FORCE_COLOR=1. This enables color when packages, like Next.js, use the npm packagechalkThe text was updated successfully, but these errors were encountered: