NVIDIA / container-canary

A tool for testing and validating container requirements against versioned manifests
Apache License 2.0
245 stars 15 forks source link

Disable animated output when tty is not found #26

Closed jacobtomlinson closed 2 years ago

jacobtomlinson commented 2 years ago

Output in CI logs is very verbose with the new Bubble Tea TUI. We already check for a /dev/tty and redirect the input so we can reuse that to also disable things like spinners and progress bars when there is no tty. This should clean up the CI logs a bit.