application_2.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <symfony name="My Symfony application" version="v1.0">
  3. <commands>
  4. <command id="_complete" name="_complete" hidden="1">
  5. <usages>
  6. <usage>_complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]</usage>
  7. </usages>
  8. <description>Internal command to provide shell completion suggestions</description>
  9. <help>Internal command to provide shell completion suggestions</help>
  10. <arguments/>
  11. <options>
  12. <option name="--shell" shortcut="-s" accept_value="1" is_value_required="1" is_multiple="0">
  13. <description>The shell type ("bash")</description>
  14. <defaults/>
  15. </option>
  16. <option name="--input" shortcut="-i" accept_value="1" is_value_required="1" is_multiple="1">
  17. <description>An array of input tokens (e.g. COMP_WORDS or argv)</description>
  18. <defaults/>
  19. </option>
  20. <option name="--current" shortcut="-c" accept_value="1" is_value_required="1" is_multiple="0">
  21. <description>The index of the "input" array that the cursor is in (e.g. COMP_CWORD)</description>
  22. <defaults/>
  23. </option>
  24. <option name="--symfony" shortcut="-S" accept_value="1" is_value_required="1" is_multiple="0">
  25. <description>The version of the completion script</description>
  26. <defaults/>
  27. </option>
  28. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  29. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  30. </option>
  31. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  32. <description>Do not output any message</description>
  33. </option>
  34. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  35. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  36. </option>
  37. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  38. <description>Display this application version</description>
  39. </option>
  40. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  41. <description>Force (or disable --no-ansi) ANSI output</description>
  42. </option>
  43. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  44. <description>Negate the "--ansi" option</description>
  45. </option>
  46. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  47. <description>Do not ask any interactive question</description>
  48. </option>
  49. </options>
  50. </command>
  51. <command id="completion" name="completion" hidden="0">
  52. <usages>
  53. <usage>completion [--debug] [--] [&lt;shell&gt;]</usage>
  54. </usages>
  55. <description>Dump the shell completion script</description>
  56. <help>The &lt;info&gt;completion&lt;/&gt; command dumps the shell completion script required
  57. to use shell autocompletion (currently only bash completion is supported).
  58. &lt;comment&gt;Static installation
  59. -------------------&lt;/&gt;
  60. Dump the script to a global completion file and restart your shell:
  61. &lt;info&gt;%%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%&lt;/&gt;
  62. Or dump the script to a local file and source it:
  63. &lt;info&gt;%%PHP_SELF%% completion bash &gt; completion.sh&lt;/&gt;
  64. &lt;comment&gt;# source the file whenever you use the project&lt;/&gt;
  65. &lt;info&gt;source completion.sh&lt;/&gt;
  66. &lt;comment&gt;# or add this line at the end of your "~/.bashrc" file:&lt;/&gt;
  67. &lt;info&gt;source /path/to/completion.sh&lt;/&gt;
  68. &lt;comment&gt;Dynamic installation
  69. --------------------&lt;/&gt;
  70. Add this to the end of your shell configuration file (e.g. &lt;info&gt;"~/.bashrc"&lt;/&gt;):
  71. &lt;info&gt;eval "$(%%PHP_SELF_FULL%% completion bash)"&lt;/&gt;</help>
  72. <arguments>
  73. <argument name="shell" is_required="0" is_array="0">
  74. <description>The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given</description>
  75. <defaults/>
  76. </argument>
  77. </arguments>
  78. <options>
  79. <option name="--debug" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  80. <description>Tail the completion debug log</description>
  81. </option>
  82. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  83. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  84. </option>
  85. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  86. <description>Do not output any message</description>
  87. </option>
  88. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  89. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  90. </option>
  91. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  92. <description>Display this application version</description>
  93. </option>
  94. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  95. <description>Force (or disable --no-ansi) ANSI output</description>
  96. </option>
  97. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  98. <description>Negate the "--ansi" option</description>
  99. </option>
  100. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  101. <description>Do not ask any interactive question</description>
  102. </option>
  103. </options>
  104. </command>
  105. <command id="help" name="help" hidden="0">
  106. <usages>
  107. <usage>help [--format FORMAT] [--raw] [--] [&lt;command_name&gt;]</usage>
  108. </usages>
  109. <description>Display help for a command</description>
  110. <help>The &lt;info&gt;help&lt;/info&gt; command displays help for a given command:
  111. &lt;info&gt;%%PHP_SELF%% help list&lt;/info&gt;
  112. You can also output the help in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
  113. &lt;info&gt;%%PHP_SELF%% help --format=xml list&lt;/info&gt;
  114. To display the list of available commands, please use the &lt;info&gt;list&lt;/info&gt; command.</help>
  115. <arguments>
  116. <argument name="command_name" is_required="0" is_array="0">
  117. <description>The command name</description>
  118. <defaults>
  119. <default>help</default>
  120. </defaults>
  121. </argument>
  122. </arguments>
  123. <options>
  124. <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
  125. <description>The output format (txt, xml, json, or md)</description>
  126. <defaults>
  127. <default>txt</default>
  128. </defaults>
  129. </option>
  130. <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  131. <description>To output raw command help</description>
  132. </option>
  133. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  134. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  135. </option>
  136. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  137. <description>Do not output any message</description>
  138. </option>
  139. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  140. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  141. </option>
  142. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  143. <description>Display this application version</description>
  144. </option>
  145. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  146. <description>Force (or disable --no-ansi) ANSI output</description>
  147. </option>
  148. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  149. <description>Negate the "--ansi" option</description>
  150. </option>
  151. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  152. <description>Do not ask any interactive question</description>
  153. </option>
  154. </options>
  155. </command>
  156. <command id="list" name="list" hidden="0">
  157. <usages>
  158. <usage>list [--raw] [--format FORMAT] [--short] [--] [&lt;namespace&gt;]</usage>
  159. </usages>
  160. <description>List commands</description>
  161. <help>The &lt;info&gt;list&lt;/info&gt; command lists all commands:
  162. &lt;info&gt;%%PHP_SELF%% list&lt;/info&gt;
  163. You can also display the commands for a specific namespace:
  164. &lt;info&gt;%%PHP_SELF%% list test&lt;/info&gt;
  165. You can also output the information in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
  166. &lt;info&gt;%%PHP_SELF%% list --format=xml&lt;/info&gt;
  167. It's also possible to get raw list of commands (useful for embedding command runner):
  168. &lt;info&gt;%%PHP_SELF%% list --raw&lt;/info&gt;</help>
  169. <arguments>
  170. <argument name="namespace" is_required="0" is_array="0">
  171. <description>The namespace name</description>
  172. <defaults/>
  173. </argument>
  174. </arguments>
  175. <options>
  176. <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  177. <description>To output raw command list</description>
  178. </option>
  179. <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
  180. <description>The output format (txt, xml, json, or md)</description>
  181. <defaults>
  182. <default>txt</default>
  183. </defaults>
  184. </option>
  185. <option name="--short" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  186. <description>To skip describing commands' arguments</description>
  187. </option>
  188. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  189. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  190. </option>
  191. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  192. <description>Do not output any message</description>
  193. </option>
  194. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  195. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  196. </option>
  197. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  198. <description>Display this application version</description>
  199. </option>
  200. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  201. <description>Force (or disable --no-ansi) ANSI output</description>
  202. </option>
  203. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  204. <description>Negate the "--ansi" option</description>
  205. </option>
  206. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  207. <description>Do not ask any interactive question</description>
  208. </option>
  209. </options>
  210. </command>
  211. <command id="descriptor:command1" name="descriptor:command1" hidden="0">
  212. <usages>
  213. <usage>descriptor:command1</usage>
  214. <usage>alias1</usage>
  215. <usage>alias2</usage>
  216. </usages>
  217. <description>command 1 description</description>
  218. <help>command 1 help</help>
  219. <arguments/>
  220. <options>
  221. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  222. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  223. </option>
  224. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  225. <description>Do not output any message</description>
  226. </option>
  227. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  228. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  229. </option>
  230. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  231. <description>Display this application version</description>
  232. </option>
  233. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  234. <description>Force (or disable --no-ansi) ANSI output</description>
  235. </option>
  236. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  237. <description>Negate the "--ansi" option</description>
  238. </option>
  239. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  240. <description>Do not ask any interactive question</description>
  241. </option>
  242. </options>
  243. </command>
  244. <command id="descriptor:command2" name="descriptor:command2" hidden="0">
  245. <usages>
  246. <usage>descriptor:command2 [-o|--option_name] [--] &lt;argument_name&gt;</usage>
  247. <usage>descriptor:command2 -o|--option_name &lt;argument_name&gt;</usage>
  248. <usage>descriptor:command2 &lt;argument_name&gt;</usage>
  249. </usages>
  250. <description>command 2 description</description>
  251. <help>command 2 help</help>
  252. <arguments>
  253. <argument name="argument_name" is_required="1" is_array="0">
  254. <description></description>
  255. <defaults/>
  256. </argument>
  257. </arguments>
  258. <options>
  259. <option name="--option_name" shortcut="-o" accept_value="0" is_value_required="0" is_multiple="0">
  260. <description></description>
  261. </option>
  262. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  263. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  264. </option>
  265. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  266. <description>Do not output any message</description>
  267. </option>
  268. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  269. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  270. </option>
  271. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  272. <description>Display this application version</description>
  273. </option>
  274. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  275. <description>Force (or disable --no-ansi) ANSI output</description>
  276. </option>
  277. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  278. <description>Negate the "--ansi" option</description>
  279. </option>
  280. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  281. <description>Do not ask any interactive question</description>
  282. </option>
  283. </options>
  284. </command>
  285. <command id="descriptor:command3" name="descriptor:command3" hidden="1">
  286. <usages>
  287. <usage>descriptor:command3</usage>
  288. </usages>
  289. <description>command 3 description</description>
  290. <help>command 3 help</help>
  291. <arguments/>
  292. <options>
  293. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  294. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  295. </option>
  296. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  297. <description>Do not output any message</description>
  298. </option>
  299. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  300. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  301. </option>
  302. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  303. <description>Display this application version</description>
  304. </option>
  305. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  306. <description>Force (or disable --no-ansi) ANSI output</description>
  307. </option>
  308. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  309. <description>Negate the "--ansi" option</description>
  310. </option>
  311. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  312. <description>Do not ask any interactive question</description>
  313. </option>
  314. </options>
  315. </command>
  316. <command id="descriptor:command4" name="descriptor:command4" hidden="0">
  317. <usages>
  318. <usage>descriptor:command4</usage>
  319. <usage>descriptor:alias_command4</usage>
  320. <usage>command4:descriptor</usage>
  321. </usages>
  322. <description></description>
  323. <help></help>
  324. <arguments/>
  325. <options>
  326. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  327. <description>Display help for the given command. When no command is given display help for the &lt;info&gt;list&lt;/info&gt; command</description>
  328. </option>
  329. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  330. <description>Do not output any message</description>
  331. </option>
  332. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  333. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  334. </option>
  335. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  336. <description>Display this application version</description>
  337. </option>
  338. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  339. <description>Force (or disable --no-ansi) ANSI output</description>
  340. </option>
  341. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  342. <description>Negate the "--ansi" option</description>
  343. </option>
  344. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  345. <description>Do not ask any interactive question</description>
  346. </option>
  347. </options>
  348. </command>
  349. </commands>
  350. <namespaces>
  351. <namespace id="_global">
  352. <command>_complete</command>
  353. <command>alias1</command>
  354. <command>alias2</command>
  355. <command>completion</command>
  356. <command>help</command>
  357. <command>list</command>
  358. </namespace>
  359. <namespace id="command4">
  360. <command>command4:descriptor</command>
  361. </namespace>
  362. <namespace id="descriptor">
  363. <command>descriptor:alias_command4</command>
  364. <command>descriptor:command1</command>
  365. <command>descriptor:command2</command>
  366. <command>descriptor:command3</command>
  367. <command>descriptor:command4</command>
  368. </namespace>
  369. </namespaces>
  370. </symfony>