isTTYOut returns whether the passed invocation is having stdout written to a TTY
(inv *serpent.Invocation)
| 1116 | |
| 1117 | // isTTYOut returns whether the passed invocation is having stdout written to a TTY |
| 1118 | func isTTYOut(inv *serpent.Invocation) bool { |
| 1119 | return isTTYWriter(inv, inv.Stdout) |
| 1120 | } |
| 1121 | |
| 1122 | // isTTYErr returns whether the passed invocation is having stderr written to a TTY |
| 1123 | func isTTYErr(inv *serpent.Invocation) bool { |
no test coverage detected