anchore / grype

A vulnerability scanner for container images and filesystems
Apache License 2.0
8.19k stars 529 forks source link

Disable TUI for simple commands #1872

Closed wagoodman closed 1 month ago

wagoodman commented 1 month ago

We have a handful of commands that print out simple reports directly to stdout/stderr:

Without first disabling the TUI, which will put the terminal into raw mode, you may see artifacts in the terminal. This PR disables the TUI and allows for free-printing to the terminal on a per-command basis.