lithium\console\Request::args()
Get the value of a command line argument at a given key
Parameters
-
integer
$key
Returns
mixedreturns null if key does not exist or the value of the key in the args array
Source
public function args($key = 0) {
if (!empty($this->args[$key])) {
return $this->args[$key];
}
return null;
}