grafana / unused

CLI tool, Prometheus exporter, and Go module to list your unused disks in all cloud providers
Apache License 2.0
51 stars 1 forks source link

Refactor `ui.UI` interface #19

Closed inkel closed 2 years ago

inkel commented 2 years ago

This PR generates a bit of duplication that will eventually be refactored out. Basically what it does is change the UI.Display signature to accept ui.Options instead, creating the room for both the table output and the interactive output to fetch the list of unused disks in different, more optimal ways, for each UI type.

Missing: