Documentation
¶
Overview ¶
Package osenv is the real cli.Environment: the process's own env and streams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Real ¶
type Real struct{}
Real reads from the running process.
func (Real) StdinIsTerminal ¶
StdinIsTerminal reports whether a person can type on stdin. It asks the OS whether stdin is a terminal: a character-device check alone would count < /dev/null as one, and a run would then wait for answers no one can type.
Click to show internal directories.
Click to hide internal directories.