- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsTerminal (0.12 sec)
-
istioctl/pkg/analyze/analyze.go
var readers []local.ReaderSource for _, f := range args { var r *os.File // Handle "-" as stdin as a special case. if f == "-" { if isatty.IsTerminal(os.Stdin.Fd()) && !isJSONorYAMLOutputFormat() { fmt.Fprint(cmd.OutOrStdout(), "Reading from stdin:\n") } r = os.Stdin readers = append(readers, local.ReaderSource{Name: f, Reader: r}) continue }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Fri Oct 25 03:42:48 UTC 2024 - 17.4K bytes - Viewed (0)