PHP Trait pharext\Cli\Command

Show file Open project: m6w6/pharext

Public Methods

Method Description
debug ( $fmt )
error ( $fmt )
getArgs ( )
header ( ) Output pharext vX.Y.Z header
help ( string $prog ) Output command line help message
info ( $fmt )
metadata ( string $key = null ) : mixed Retrieve metadata of the currently running phar
verbosity ( ) : boolean Verbosity
warn ( $fmt )

Method Details

debug() public method

See also: pharext\Command::debug()
public debug ( $fmt )

error() public method

See also: pharext\Command::error()
public error ( $fmt )

getArgs() public method

See also: pharext\Command::getArgs()
public getArgs ( )

header() public method

Output pharext vX.Y.Z header
public header ( )

help() public method

Output command line help message
public help ( string $prog )
$prog string

info() public method

See also: pharext\Command::info()
public info ( $fmt )

metadata() public method

Retrieve metadata of the currently running phar
public metadata ( string $key = null ) : mixed
$key string
return mixed

verbosity() public method

Verbosity
public verbosity ( ) : boolean
return boolean

warn() public method

See also: pharext\Command::warn()
public warn ( $fmt )