github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/internal/ui/select_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package ui 5 6 // Select is responsible for determining the specific UI function given select user option, the current platform 7 // config values, and environment status (such as a TTY being present). The first UI in the returned slice of UIs 8 // is intended to be used and the UIs that follow are meant to be attempted only in a fallback posture when there 9 // are environmental problems (e.g. cannot write to the terminal). A writer is provided to capture the output of 10 // the final SBOM report. 11 func Select(verbose, quiet bool) (uis []UI) { 12 return append(uis, NewLoggerUI()) 13 }