Class

eZCLI

class eZCLI

Constants

TERMINAL_ENDOFLINE_STRING

Methods

__construct()

Initializes object and detects if the CLI is used.

endlineString()

isWebOutput()

terminalStyle($name)

webStyle($name)

terminalStyles()

webStyles()

emptyStyles()

style($name)

stylize($styleName, $text)

gotoColumn($column)

setUseStyles($useStyles)

useStyles()

output($string = false, $addEOL = true)

notice($string = false, $addEOL = true)

warning($string = false, $addEOL = true)

error($string = false, $addEOL = true)

setIsQuiet(bool $isQuiet)

Sets whether the output() method should print out anything.

isQuiet()

isLoud()

getOptions($config, $argumentConfig, $arguments = false)

Details

at line 37
public __construct()

Initializes object and detects if the CLI is used.

at line 207
public endlineString()

at line 215
public isWebOutput()

at line 223
public terminalStyle($name)

Parameters

$name

at line 235
public webStyle($name)

Parameters

$name

at line 243
public terminalStyles()

at line 251
public webStyles()

at line 259
public emptyStyles()

at line 267
public style($name)

Parameters

$name

at line 282
public stylize($styleName, $text)

Parameters

$styleName
$text

at line 310
public gotoColumn($column)

Parameters

$column

at line 327
public setUseStyles($useStyles)

Parameters

$useStyles

at line 338
public useStyles()

at line 347
public output($string = false, $addEOL = true)

Parameters

$string
$addEOL

at line 360
public notice($string = false, $addEOL = true)

Parameters

$string
$addEOL

at line 371
public warning($string = false, $addEOL = true)

Parameters

$string
$addEOL

at line 383
public error($string = false, $addEOL = true)

Parameters

$string
$addEOL

at line 398
public setIsQuiet(bool $isQuiet)

Sets whether the output() method should print out anything.

Parameters

bool $isQuiet

See also

isQuiet, isLoud

at line 407
public isQuiet()

at line 416
public isLoud()

at line 568
public getOptions($config, $argumentConfig, $arguments = false)

Parameters

$config
$argumentConfig
$arguments