Closed genevieveluyt closed 2 years ago
@Owen-Cummings it pains me to not use colour
haha
The failing CLA check is due to a bug. Since there's no ETA to fix, we've got the ok to merge through the failing check (Shopify employees don't have to sign the CLA, they should always pass the check).
Description
Adds
--no-color
flag which can be used to disable printing color codes in the output. Colored output is intended for stdout but displays poorly elsewhere.For example, redirecting the default "pretty" output to a file:
Type of change
How Has This Been Tested?
go run cmd/main.go all -f "internal/test/fixtures/all_resources/deployment-apps-v1.yml" > out.txt
and compared it withgo run cmd/main.go all --no-color -f "internal/test/fixtures/all_resources/deployment-apps-v1.yml" > out.txt
Checklist: