pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.66k stars 141 forks source link

Color option for reports #312

Closed liamrabetian closed 3 years ago

liamrabetian commented 3 years ago

I have a lot of reports in my docker log output.. I want to use safety check whenever my docker image runs. But having many log outputs for my web service I'd like to have different colors for my logs. So I thought it would be nice if safety had a color option.

Selection_003

rafaelpivato commented 3 years ago

My first reaction here is that it would be useful to have a colorized output but not with only one color.

I would suggest you to use tput instead:

tput setaf 1; safety check
tput setaf 2; safety check

You will get different colors then.

image