Closed erezrokah closed 2 years ago
maybe we should disable colors in the plugins at all but otherwise I would add --color
and set no color as default. As a work around you can use --log-format=json
this will be with no colors
Closing this as wontfix
for now
Describe the bug
Not sure if this belongs here or in https://github.com/cloudquery/cloudquery.
When doing
go run main.go serve > output.txt
in a plugin's repo (after cloning it), the file will contain the following:This makes it harder to debug plugins
Expected Behavior
The output file should not have special characters
Steps to Reproduce
git@github.com:cloudquery/cloudquery.git
cd plugins/source/gcp
go run main.go serve > output.txt
Examine content of
output.txt
Possible Solution
Support
NO_COLOR=true
env variable and/or automatically set it when piping output to a fileProvider and CloudQuery version
v2
Additional Context
No response