treefmt
treefmt copied to clipboard
Feature: Colorized Output in shell
Is your feature request related to a problem? Please describe.
Treefmt should have color coded output relative to the loglevel that is being emitted
Describe the solution you'd like
[ERR]: Ignoring formatter #flake8 due to error: cannot find binary path
[ERR]: Ignoring formatter #nix due to error: cannot find binary path
[WARN]: cache: failed to load the manifest due to: No such file or directory (os error 2)
[INFO]: #hadolint: 3 files processed in 236.49ms
[INFO]: #shell: 22 files processed in 626.19ms
[INFO]: #black: 27 files processed in 857.03ms
[INFO]: #prettier: 114 files processed in 2.99s
[INFO]: #terraform: 261 files processed in 9.14s
What loglevel color coding should be [ERR] = RED [WARN] = YELLOW [INFO] = BLUE