Closed jnummelin closed 5 years ago
I don't see any conditional for $stdout.tty?
or such in Rouge::Formatters::Terminal256
. I think if the output of mortar describe
will include the color escape-sequences when piped to a command or redirected to a file.
right, we need to handle that part in mortar side I think
the non-tty case is now handled properly for json output. it was already handled for yaml output
supports also
-o yaml
option to dump everything in yaml.