fix: use anstream + owo-color for colorful CLI output

the color-print crate works very well, but it cannot disable styling if the terminal does not support it,
when saving the output to a file, etc
This commit is contained in:
ThetaDev 2024-08-08 15:04:15 +02:00
parent d053ac3eba
commit e8324cf3b0
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
2 changed files with 102 additions and 70 deletions

View file

@ -57,4 +57,5 @@ tracing-subscriber.workspace = true
serde_yaml.workspace = true
dirs.workspace = true
color-print = "0.3.6"
anstream = "0.6.15"
owo-colors = "4.0.0"