system/CLI/CommandRunner.php
public function index(array $params)
	{
		$command = array_shift($params);

		$this->createCommandList();

		if (is_null($command))
		{
			$command = 'help';
		}

		return $this->runCommand($command, $params);
	}
public function index(array $params)
	{
		$command = array_shift($params);

		$this->createCommandList();

		if (is_null($command))
		{
			$command = 'help';
		}

		return $this->runCommand($command, $params);
	}
@param array $params

@return mixed
@throws \ReflectionException