colorise output

This commit is contained in:
Mike Farah
2025-12-08 10:57:20 +11:00
parent 5c166e3038
commit 87374edce5
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