cvs: php4 /pear/PEAR/Frontend CLI.php
| From: | Christian Dickmann | Date: | Sun, 02 Jun 2002 20:24:50 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Frontend CLI.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4380@lists.php.net to get a copy of this message | ||
dickmann Sun Jun 2 16:24:50 2002 EDT
Modified files:
/php4/pear/PEAR/Frontend CLI.php
Log:
make 'pear remote-info' work with CLI
Index: php4/pear/PEAR/Frontend/CLI.php
diff -u php4/pear/PEAR/Frontend/CLI.php:1.14 php4/pear/PEAR/Frontend/CLI.php:1.15
--- php4/pear/PEAR/Frontend/CLI.php:1.14 Sun Jun 2 16:13:50 2002
+++ php4/pear/PEAR/Frontend/CLI.php Sun Jun 2 16:24:50 2002
@@ -16,7 +16,7 @@
| Author: Stig Sæther Bakken <ssb@fast.no> |
+----------------------------------------------------------------------+
- $Id: CLI.php,v 1.14 2002/06/02 20:13:50 dickmann Exp $
+ $Id: CLI.php,v 1.15 2002/06/02 20:24:50 dickmann Exp $
*/
require_once "PEAR.php";
@@ -395,6 +395,20 @@
};
$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))
{