Consolidation\AnnotatedCommand\Input
Classes
StdinAwareTrait provides the implementation for StdinAwareInterface.
StdinHandler is a thin wrapper around php://stdin. It provides methods for redirecting input from a file, possibly conditionally under the control of an Input object.
Interfaces
StdinAwareInterface should be implemented by classes that read from standard input. This class contains facilities to redirect stdin to instead read from a file, e.g. in response to an option or argument value.