yokattana / json-yaml

Convert JSON to YAML with Unix pipes
BSD 2-Clause "Simplified" License
8 stars 1 forks source link

Colorize output #3

Open nikolay opened 6 years ago

nikolay commented 6 years ago

It would be nice to have an option to colorize YAML like jq does with JSON. It's very useful for local development.

sjmulder commented 6 years ago

I agree, that would be useful. However, I feel that including that feature in json-yaml would violate the single responsibility principle that I like to follow with Unix programs. It should be a different program. Then you can colorise YAML output form any source.