colorise output

This commit is contained in:
Mike Farah
2025-12-08 20:30:47 +11:00
parent 8162f3a100
commit 554bf5a2f2
6 changed files with 131 additions and 5 deletions
+1
View File
@@ -205,6 +205,7 @@ func configureEncoder() (yqlib.Encoder, error) {
yqlib.ConfiguredYamlPreferences.ColorsEnabled = colorsEnabled
yqlib.ConfiguredJSONPreferences.ColorsEnabled = colorsEnabled
yqlib.ConfiguredHclPreferences.ColorsEnabled = colorsEnabled
yqlib.ConfiguredYamlPreferences.PrintDocSeparators = !noDocSeparators