donnemartin / saws

A supercharged AWS command line interface (CLI).
Other
5.24k stars 281 forks source link

Improve output highlighting #23

Open donnemartin opened 8 years ago

donnemartin commented 8 years ago

Some command outputs don't look great on a dark background:

screen shot 2015-09-22 at 11 24 58 am

Originally reported in https://github.com/donnemartin/saws/issues/18 by @sesas

donnemartin commented 8 years ago

SAWS is currently using the default pygments lexers, which don't appear to handle the outputs in discussion very well.

It seems adding support for this could be more involved.

chorne-togetherwork commented 4 years ago

I noticed the following: https://github.com/donnemartin/saws/blob/master/saws/saws.py#L65

PYGMENTS_CMD = ' | pygmentize -l json'

I've only just started reading up on pygmentize, but would it be possible to apply the Theme to this command? Something like:

pygmentize -l json -O style=default