mikefarah / yq

yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor
https://mikefarah.gitbook.io/yq/
MIT License
12.33k stars 602 forks source link

Format comments with a gray foreground #2182

Closed gabe565 closed 1 week ago

gabe565 commented 3 weeks ago

Hey! I adore yq, but it always bugged me that it didn't format comments, so I added comment formatting support to the goccy printer https://github.com/goccy/go-yaml/pull/469. That PR has now been merged, so this PR updates github.com/goccy/go-yaml and related dependencies, and adds a printer rule to print comments in gray (color.FgHiBlack).

Comparison:

image
mikefarah commented 1 week ago

Looks good but the build is failing