Skip to content
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

Any ENV variable for support color output on CI environment without TTY #13

Closed
Delagen opened this issue Dec 29, 2017 · 5 comments
Closed

Comments

@Delagen
Copy link

Delagen commented Dec 29, 2017

Used Gitlab CI and output does not get any ASCI color.
As I see dependency for detect TERM color support it return none for environments without TTY

@phated
Copy link
Member

phated commented Dec 29, 2017

We already support you adding the --color flag to your command.

@phated phated closed this as completed Dec 29, 2017
@Delagen
Copy link
Author

Delagen commented Dec 29, 2017

@phated you offer add parameter to EVERY gulp command issued in EVERY project?

@phated
Copy link
Member

phated commented Dec 29, 2017

What are you talking about? The logger has nothing to do with your colors, just the color it adds to the timestamp. Did you mean to open this on your colors dependency?

@gulpjs gulpjs locked and limited conversation to collaborators Dec 29, 2017
@phated
Copy link
Member

phated commented Dec 29, 2017

We are working on a --color/--no-color feature of gulp-cli with the initial work done in gulpjs/gulp-cli#137 but that's pretty far off and will require people to switch from fancy-log to the gulplog dependency.

@phated
Copy link
Member

phated commented Dec 29, 2017

Or just use chalk like you used to through gulp-util.... I don't like recommending that module due to authorship but if you must, feel free.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants