\sRCli

Summary

Methods
Properties
Constants
init()
getCommand()
getAction()
getArgs()
getOption()
getCmdQueue()
getRawArgv()
args()
No public properties found
No constants found
parseRawArgv()
$command
$action
$args
$option
$cmdQueue
$rawArgv
N/A
No private methods found
No private properties found
N/A

Properties

$command

$command : 

Type

$action

$action : 

Type

$args

$args : 

Type

$option

$option : 

Type

$cmdQueue

$cmdQueue : 

Type

$rawArgv

$rawArgv : 

Type

Methods

init()

init(  $rawArgv) 

命令行初始化

Parameters

$rawArgv

getCommand()

getCommand() : string|null

Returns

string|null

getAction()

getAction() : string|null

Returns

string|null

getArgs()

getArgs() : array

Returns

array

getOption()

getOption() : array

Returns

array

getCmdQueue()

getCmdQueue() : array

Returns

array

getRawArgv()

getRawArgv() : array|null

Returns

array|null

args()

args(string  $key) : mixed|null

Parameters

string $key

Returns

mixed|null

parseRawArgv()

parseRawArgv(  $rawArgv) 

Parameters

$rawArgv