'config-get' => array(
'summary' => 'Show One Setting',
'function' => 'doConfigGet',
+ 'shortcut' => 'cg',
'options' => array(),
'doc' => 'Displays the value of one configuration parameter. The
first argument is the name of the parameter, an optional second argument
'config-set' => array(
'summary' => 'Change Setting',
'function' => 'doConfigSet',
+ 'shortcut' => 'cs',
'options' => array(),
'doc' => 'Sets the value of one configuration parameter. The first
argument is the name of the parameter, the second argument is the new value.
'install' => array(
'summary' => 'Install Package',
'function' => 'doInstall',
+ 'shortcut' => 'i',
'options' => array(
'force' => array(
'shortopt' => 'f',
'upgrade' => array(
'summary' => 'Upgrade Package',
'function' => 'doInstall',
+ 'shortcut' => 'up',
'options' => array(
'force' => array(
'shortopt' => 'f',
'uninstall' => array(
'summary' => 'Un-install Package',
'function' => 'doUninstall',
+ 'shortcut' => 'un',
'options' => array(
'nodeps' => array(
'shortopt' => 'n',
'package' => array(
'summary' => 'Build Package',
'function' => 'doPackage',
+ 'shortcut' => 'p',
'options' => array(
'nocompress' => array(
'shortopt' => 'Z',
'list' => array(
'summary' => 'List Installed Packages',
'function' => 'doList',
+ 'shortcut' => 'l',
'options' => array(),
'doc' => '[package]
If invoked without parameters, this command lists the PEAR packages
),
'shell-test' => array(
'summary' => 'Shell Script Test',
- 'shortcut' => 'stest',
'function' => 'doShellTest',
+ 'shortcut' => 'stest',
'options' => array(),
'doc' => '<package> [[relation] version]
Tests if a package is installed in the system. Will exit(1) if it is not.
// {{{ command definitions
var $commands = array(
- 'info-remote' => array(
+ 'remote-info' => array(
'summary' => 'Information About Remote Packages',
- 'function' => 'doInfoRemote',
+ 'function' => 'doRemoteInfo',
+ 'shortcut' => 'ri',
'options' => array(),
'doc' => '<package>
Get details on a package from the server.',
'list-upgrades' => array(
'summary' => 'List Available Upgrades',
'function' => 'doListUpgrades',
+ 'shortcut' => 'lu',
'options' => array(),
'doc' => '
List releases on the server of packages you have installed where
a newer version is available with the same release state (stable etc.).'
),
- 'list-remote' => array(
+ 'remote-list' => array(
'summary' => 'List Remote Packages',
- 'function' => 'doListRemote',
+ 'function' => 'doRemoteList',
+ 'shortcut' => 'rl',
'options' => array(),
'doc' => '
Lists the packages available on the configured server along with the
'download' => array(
'summary' => 'Download Package',
'function' => 'doDownload',
+ 'shortcut' => 'd',
'options' => array(
'nocompress' => array(
'shortopt' => 'Z',