From: Christian Dickmann Date: Sun, 2 Jun 2002 20:24:50 +0000 (+0000) Subject: make 'pear remote-info' work with CLI X-Git-Tag: RELEASE_0_90~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee44ad4f5b96ac7fe1ff0f528352a7e062ba8661;p=php make 'pear remote-info' work with CLI --- diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index d0b029bace..3a984c3e3c 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -395,6 +395,20 @@ class PEAR_Frontend_CLI extends PEAR }; $this->_endTable(); break; + case 'remote-info': + $data = array( + 'caption' => 'Package details:', + 'border' => false, + 'data' => array( + array("Latest", $data['stable']), + array("Installed", $data['installed']), + array("Package", $data['name']), + array("License", $data['license']), + array("Category", $data['category']), + array("Summary", $data['summary']), + array("Description", $data['description']), + ), + ); default: if (is_array($data)) {