PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Source for file Channels-init.php

Documentation is available at Channels-init.php

  1. <?php
  2. // quick-load, small memory footprint command configuration
  3. $implements = array(
  4.         'list-channels' => array(
  5.             'summary' => 'List Available Channels',
  6.             'function' => 'doList',
  7.             'shortcut' => 'lc',
  8.             'options' => array(),
  9.             'doc' => '
  10. List all available channels for installation.
  11. ',
  12.             ),
  13.         'update-channels' => array(
  14.             'summary' => 'Update the Channel List',
  15.             'function' => 'doUpdateAll',
  16.             'shortcut' => 'uc',
  17.             'options' => array(),
  18.             'doc' => '
  19. List all installed packages in all channels.
  20. '
  21.             ),
  22.         'channel-delete' => array(
  23.             'summary' => 'Remove a Channel From the List',
  24.             'function' => 'doDelete',
  25.             'shortcut' => 'cde',
  26.             'options' => array(),
  27.             'doc' => '<channel name>
  28. Delete a channel from the registry.  You may not
  29. remove any channel that has installed packages.
  30. '
  31.             ),
  32.         'channel-add' => array(
  33.             'summary' => 'Add a Channel',
  34.             'function' => 'doAdd',
  35.             'shortcut' => 'ca',
  36.             'options' => array(),
  37.             'doc' => '<channel.xml>
  38. Add a private channel to the channel list.  Note that all
  39. public channels should be synced using "update-channels".
  40. Parameter may be either a local file or remote URL to a
  41. channel.xml.
  42. '
  43.             ),
  44.         'channel-update' => array(
  45.             'summary' => 'Update an Existing Channel',
  46.             'function' => 'doUpdate',
  47.             'shortcut' => 'cu',
  48.             'options' => array(
  49.                 'force' => array(
  50.                     'shortopt' => 'f',
  51.                     'doc' => 'will force download of new channel.xml if an existing channel name is used',
  52.                     ),
  53.                 'channel' => array(
  54.                     'shortopt' => 'c',
  55.                     'arg' => 'CHANNEL',
  56.                     'doc' => 'will force download of new channel.xml if an existing channel name is used',
  57.                     ),
  58. ),
  59.             'doc' => '[<channel.xml>|<channel name>]
  60. Update a channel in the channel list directly.  Note that all
  61. public channels can be synced using "update-channels".
  62. Parameter may be a local or remote channel.xml, or the name of
  63. an existing channel.
  64. '
  65.             ),
  66.         'channel-info' => array(
  67.             'summary' => 'Retrieve Information on a Channel',
  68.             'function' => 'doInfo',
  69.             'shortcut' => 'ci',
  70.             'options' => array(),
  71.             'doc' => '<package>
  72. List the files in an installed package.
  73. '
  74.             ),
  75.         'channel-alias' => array(
  76.             'summary' => 'Specify an alias to a channel name',
  77.             'function' => 'doAlias',
  78.             'shortcut' => 'cha',
  79.             'options' => array(),
  80.             'doc' => '<channel> <alias>
  81. Specify a specific alias to use for a channel name.
  82. The alias may not be an existing channel name or
  83. alias.
  84. '
  85.             ),
  86.         'channel-discover' => array(
  87.             'summary' => 'Initialize a Channel from its server',
  88.             'function' => 'doDiscover',
  89.             'shortcut' => 'di',
  90.             'options' => array(),
  91.             'doc' => '<package>
  92. List the files in an installed package.
  93. '
  94.             ),
  95.         );
  96. ?>

Documentation generated on Mon, 11 Mar 2019 14:15:31 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.