Метод |
Описание |
|
build ( string $command, array $args = [] ) : string |
Build params for cli options |
|
check ( ) : boolean |
Is command line |
|
err ( string $message, boolean $addEol = true ) |
Print line to std error |
|
exec ( string $command, array $args = [], null $cwd = null, boolean $verbose = false ) : string |
Execute cli commands |
|
getNumberOfColumns ( ) : integer |
Returns the number of columns of the terminal. |
|
hasColorSupport ( ) : boolean |
Returns true if STDOUT supports colorization. |
|
isInteractive ( integer | resource $fileDescriptor = self::STDOUT ) : boolean |
Returns if the file descriptor is an interactive terminal or not. |
|
out ( string $message, boolean $addEol = true ) |
Print line to std out |
|