application_1.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <symfony>
  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. </commands>
  212. <namespaces>
  213. <namespace id="_global">
  214. <command>_complete</command>
  215. <command>completion</command>
  216. <command>help</command>
  217. <command>list</command>
  218. </namespace>
  219. </namespaces>
  220. </symfony>