GoogleCloudPlatform / GoogleCloudPlatform/cloud-run-button

[Q] How to reset stdout colors to standard for prebuild hooks

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
553
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hi.
I can see that all hooks' output are written with overridden colors (gray). It's hard to read. How can i reset colors to white-on-black for all output?
I tried adding `tput init` and `tput setaf 7 && tput setab 0` in my prebuild.sh but it didn't help.
If I output via echo with ANSI (`-e`) it overrides but I don't want to change all my echo commands.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.