Download the PHP package gevman/interactive-cli without Composer
On this page you can find all versions of the php package gevman/interactive-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gevman/interactive-cli
More information about gevman/interactive-cli
Files in gevman/interactive-cli
Download gevman/interactive-cli
More information about gevman/interactive-cli
Files in gevman/interactive-cli
Please rate this library. Is it a good library?
Informations about the package interactive-cli
PHP Interactive CLI support
Installation (using composer)
Class Gevman\Cli\Cli
bool confirm(string $prompt [, bool $default = true])
Interactive confirm - returns user selected value (Y=true, N=false)
$prompt- prompt message$default- default value
void input(&$input [, string $message = ''] [, bool $required = false])
Interactive prompt for user input
$prompt- prompt message$default- default value
Gevman\Cli\CliOutput output(string $str [, mixed $_ = null])
Outputs message
$str- message or pattern for sprintf$_- parameters for sprintf
Class Gevman\Cli\CliOutput
Gevman\Cli\CliOutput success()
Marks output green
Gevman\Cli\CliOutput warning()
Marks output Yellow
Gevman\Cli\CliOutput error()
Marks output Red
Gevman\Cli\CliOutput note()
Marks output Blue
Gevman\Cli\CliOutput endl()
Line break
Gevman\Cli\CliOutput cl()
Clear current line
void progressBar(mixed $all [, string $additionalInfo = ''])
Displays interactive progressbar (message should be current key)
$all- count of all$additionalInfo- displays additional Info for each step
All versions of interactive-cli with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package gevman/interactive-cli contains the following files
Loading the files please wait ...