return $this->raiseError("$command expects one param: the remote package name");
}
$r = new PEAR_Remote($this->config);
- $available = $r->call('package.listAll', true);
- if (PEAR::isError($available)) {
- return $this->raiseError($available);
+ $info = $r->call('package.info', $params[0]);
+ if (PEAR::isError($info)) {
+ return $this->raiseError($info);
}
- $info = $available[$params[0]];
- $info["name"] = $params[0];
$reg = new PEAR_Registry($this->config->get('php_dir'));
$installed = $reg->packageInfo($info['name']);
$info['stable'],
$installed['version'],
$desc,
+ $info['deps'],
);
}
$this->ui->outputData($data, $command);
foreach($data['data'] as $category) {
foreach($category as $pkg) {
unset($pkg[3]);
+ unset($pkg[4]);
$this->_tableRow($pkg, null, array(1 => array('wrap' => 55)));
}
};