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