gios / gzipper

CLI for compressing files.
https://www.npmjs.com/package/gzipper
GNU General Public License v3.0
68 stars 13 forks source link

Add support for NO_COLOR env var #98

Closed emzet closed 2 years ago

emzet commented 2 years ago

Please add support for NO_COLOR environment variable https://no-color.org/ to disable colorful output after compression is done in console. Useful for CI environments. Currently there are hardcoded colors in source code: https://github.com/gios/gzipper/blob/dfbb5d6479f8f9d7a5dd4e25a493ad3c90e11ffe/src/logger/Logger.ts#L34