62e3cfcbe059c37b30c9e9daca4f69c121f1c271
[yaffs-website] / vendor / symfony / console / Tests / Fixtures / application_2.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <symfony name="My Symfony application" version="v1.0">
3   <commands>
4     <command id="help" name="help">
5       <usages>
6         <usage>help [--format FORMAT] [--raw] [--] [&lt;command_name&gt;]</usage>
7       </usages>
8       <description>Displays help for a command</description>
9       <help>The &lt;info&gt;help&lt;/info&gt; command displays help for a given command:
10  
11    &lt;info&gt;php app/console help list&lt;/info&gt;
12  
13  You can also output the help in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
14  
15    &lt;info&gt;php app/console help --format=xml list&lt;/info&gt;
16  
17  To display the list of available commands, please use the &lt;info&gt;list&lt;/info&gt; command.</help>
18       <arguments>
19         <argument name="command_name" is_required="0" is_array="0">
20           <description>The command name</description>
21           <defaults>
22             <default>help</default>
23           </defaults>
24         </argument>
25       </arguments>
26       <options>
27         <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
28           <description>The output format (txt, xml, json, or md)</description>
29           <defaults>
30             <default>txt</default>
31           </defaults>
32         </option>
33         <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
34           <description>To output raw command help</description>
35         </option>
36         <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
37           <description>Display this help message</description>
38         </option>
39         <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
40           <description>Do not output any message</description>
41         </option>
42         <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
43           <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
44         </option>
45         <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
46           <description>Display this application version</description>
47         </option>
48         <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
49           <description>Force ANSI output</description>
50         </option>
51         <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
52           <description>Disable ANSI output</description>
53         </option>
54         <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
55           <description>Do not ask any interactive question</description>
56         </option>
57       </options>
58     </command>
59     <command id="list" name="list">
60       <usages>
61         <usage>list [--raw] [--format FORMAT] [--] [&lt;namespace&gt;]</usage>
62       </usages>
63       <description>Lists commands</description>
64       <help>The &lt;info&gt;list&lt;/info&gt; command lists all commands:
65  
66    &lt;info&gt;php app/console list&lt;/info&gt;
67  
68  You can also display the commands for a specific namespace:
69  
70    &lt;info&gt;php app/console list test&lt;/info&gt;
71  
72  You can also output the information in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
73  
74    &lt;info&gt;php app/console list --format=xml&lt;/info&gt;
75  
76  It's also possible to get raw list of commands (useful for embedding command runner):
77  
78    &lt;info&gt;php app/console list --raw&lt;/info&gt;</help>
79       <arguments>
80         <argument name="namespace" is_required="0" is_array="0">
81           <description>The namespace name</description>
82           <defaults/>
83         </argument>
84       </arguments>
85       <options>
86         <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
87           <description>To output raw command list</description>
88         </option>
89         <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
90           <description>The output format (txt, xml, json, or md)</description>
91           <defaults>
92             <default>txt</default>
93           </defaults>
94         </option>
95       </options>
96     </command>
97     <command id="descriptor:command1" name="descriptor:command1">
98       <usages>
99         <usage>descriptor:command1</usage>
100         <usage>alias1</usage>
101         <usage>alias2</usage>
102       </usages>
103       <description>command 1 description</description>
104       <help>command 1 help</help>
105       <arguments/>
106       <options>
107         <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
108           <description>Display this help message</description>
109         </option>
110         <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
111           <description>Do not output any message</description>
112         </option>
113         <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
114           <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
115         </option>
116         <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
117           <description>Display this application version</description>
118         </option>
119         <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
120           <description>Force ANSI output</description>
121         </option>
122         <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
123           <description>Disable ANSI output</description>
124         </option>
125         <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
126           <description>Do not ask any interactive question</description>
127         </option>
128       </options>
129     </command>
130     <command id="descriptor:command2" name="descriptor:command2">
131       <usages>
132         <usage>descriptor:command2 [-o|--option_name] [--] &lt;argument_name&gt;</usage>
133         <usage>descriptor:command2 -o|--option_name &lt;argument_name&gt;</usage>
134         <usage>descriptor:command2 &lt;argument_name&gt;</usage>
135       </usages>
136       <description>command 2 description</description>
137       <help>command 2 help</help>
138       <arguments>
139         <argument name="argument_name" is_required="1" is_array="0">
140           <description></description>
141           <defaults/>
142         </argument>
143       </arguments>
144       <options>
145         <option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
146           <description></description>
147         </option>
148         <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
149           <description>Display this help message</description>
150         </option>
151         <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
152           <description>Do not output any message</description>
153         </option>
154         <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
155           <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
156         </option>
157         <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
158           <description>Display this application version</description>
159         </option>
160         <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
161           <description>Force ANSI output</description>
162         </option>
163         <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
164           <description>Disable ANSI output</description>
165         </option>
166         <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
167           <description>Do not ask any interactive question</description>
168         </option>
169       </options>
170     </command>
171   </commands>
172   <namespaces>
173     <namespace id="_global">
174       <command>alias1</command>
175       <command>alias2</command>
176       <command>help</command>
177       <command>list</command>
178     </namespace>
179     <namespace id="descriptor">
180       <command>descriptor:command1</command>
181       <command>descriptor:command2</command>
182     </namespace>
183   </namespaces>
184 </symfony>