fujiwara / ecrm

A command line tool for managing ECR repositories.
MIT License
63 stars 5 forks source link

Add --no-color option #2

Closed mashiike closed 2 years ago

mashiike commented 2 years ago

When executed in a Lambda function, the color code is output in the CloudWatch Logs output and becomes difficult to read.

Therefore, we will send a PR to add a NoColor option. The default value for this NoColor option is to check the tty to see if it is terminal. If it is a terminal, the default is false, otherwise it is true.