source: branches/version-2_13-dev/data/module/PEAR/Command/Config.xml @ 23125

Revision 23125, 3.3 KB checked in by kimoto, 11 years ago (diff)

#2275 PEAR更新
不要なrequire_onceの削除
レガシーなPEARモジュールは使わない
SearchReplace?.phpのパスが間違っているので修正

Line 
1<commands version="1.0">
2 <config-show>
3  <summary>Show All Settings</summary>
4  <function>doConfigShow</function>
5  <shortcut>csh</shortcut>
6  <options>
7   <channel>
8    <shortopt>c</shortopt>
9    <doc>show configuration variables for another channel</doc>
10    <arg>CHAN</arg>
11   </channel>
12  </options>
13  <doc>[layer]
14Displays all configuration values.  An optional argument
15may be used to tell which configuration layer to display.  Valid
16configuration layers are &quot;user&quot;, &quot;system&quot; and &quot;default&quot;. To display
17configurations for different channels, set the default_channel
18configuration variable and run config-show again.
19</doc>
20 </config-show>
21 <config-get>
22  <summary>Show One Setting</summary>
23  <function>doConfigGet</function>
24  <shortcut>cg</shortcut>
25  <options>
26   <channel>
27    <shortopt>c</shortopt>
28    <doc>show configuration variables for another channel</doc>
29    <arg>CHAN</arg>
30   </channel>
31  </options>
32  <doc>&lt;parameter&gt; [layer]
33Displays the value of one configuration parameter.  The
34first argument is the name of the parameter, an optional second argument
35may be used to tell which configuration layer to look in.  Valid configuration
36layers are &quot;user&quot;, &quot;system&quot; and &quot;default&quot;.  If no layer is specified, a value
37will be picked from the first layer that defines the parameter, in the order
38just specified.  The configuration value will be retrieved for the channel
39specified by the default_channel configuration variable.
40</doc>
41 </config-get>
42 <config-set>
43  <summary>Change Setting</summary>
44  <function>doConfigSet</function>
45  <shortcut>cs</shortcut>
46  <options>
47   <channel>
48    <shortopt>c</shortopt>
49    <doc>show configuration variables for another channel</doc>
50    <arg>CHAN</arg>
51   </channel>
52  </options>
53  <doc>&lt;parameter&gt; &lt;value&gt; [layer]
54Sets the value of one configuration parameter.  The first argument is
55the name of the parameter, the second argument is the new value.  Some
56parameters are subject to validation, and the command will fail with
57an error message if the new value does not make sense.  An optional
58third argument may be used to specify in which layer to set the
59configuration parameter.  The default layer is &quot;user&quot;.  The
60configuration value will be set for the current channel, which
61is controlled by the default_channel configuration variable.
62</doc>
63 </config-set>
64 <config-help>
65  <summary>Show Information About Setting</summary>
66  <function>doConfigHelp</function>
67  <shortcut>ch</shortcut>
68  <options />
69  <doc>[parameter]
70Displays help for a configuration parameter.  Without arguments it
71displays help for all configuration parameters.
72</doc>
73 </config-help>
74 <config-create>
75  <summary>Create a Default configuration file</summary>
76  <function>doConfigCreate</function>
77  <shortcut>coc</shortcut>
78  <options>
79   <windows>
80    <shortopt>w</shortopt>
81    <doc>create a config file for a windows install</doc>
82   </windows>
83  </options>
84  <doc>&lt;root path&gt; &lt;filename&gt;
85Create a default configuration file with all directory configuration
86variables set to subdirectories of &lt;root path&gt;, and save it as &lt;filename&gt;.
87This is useful especially for creating a configuration file for a remote
88PEAR installation (using the --remoteconfig option of install, upgrade,
89and uninstall).
90</doc>
91 </config-create>
92</commands>
Note: See TracBrowser for help on using the repository browser.