From ee44ad4f5b96ac7fe1ff0f528352a7e062ba8661 Mon Sep 17 00:00:00 2001 From: Christian Dickmann Date: Sun, 2 Jun 2002 20:24:50 +0000 Subject: [PATCH] make 'pear remote-info' work with CLI --- pear/PEAR/Frontend/CLI.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)) { -- 2.50.1