Extends
lithium\console\Command
Initialize _settings from `--conf`.
Throws an exception if the command is initialized without a request object
which is needed by `_toPath()` in order to determine the current working directory.
This most often happens if the command is inspected using the `ReflectionClass`.
Returns
voidSource
protected function _init() {
parent::_init();
if ($this->server) {
$this->_settings['servers'][$this->server] = true;
}
if (file_exists($this->conf)) {
$this->_settings += (array) json_decode($this->conf, true);
}
$this->path = $this->_toPath($this->path ?: 'libraries');
$this->force = $this->f ? $this->f : $this->force;
}