application_1.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <symfony>
  3. <commands>
  4. <command id="help" name="help">
  5. <usages>
  6. <usage>help [--xml] [--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. &lt;info&gt;php app/console help list&lt;/info&gt;
  11. You can also output the help in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
  12. &lt;info&gt;php app/console help --format=xml list&lt;/info&gt;
  13. To display the list of available commands, please use the &lt;info&gt;list&lt;/info&gt; command.</help>
  14. <arguments>
  15. <argument name="command_name" is_required="0" is_array="0">
  16. <description>The command name</description>
  17. <defaults>
  18. <default>help</default>
  19. </defaults>
  20. </argument>
  21. </arguments>
  22. <options>
  23. <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  24. <description>To output help as XML</description>
  25. </option>
  26. <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
  27. <description>The output format (txt, xml, json, or md)</description>
  28. <defaults>
  29. <default>txt</default>
  30. </defaults>
  31. </option>
  32. <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  33. <description>To output raw command help</description>
  34. </option>
  35. <option name="--help" shortcut="-h" accept_value="0" is_value_required="0" is_multiple="0">
  36. <description>Display this help message</description>
  37. </option>
  38. <option name="--quiet" shortcut="-q" accept_value="0" is_value_required="0" is_multiple="0">
  39. <description>Do not output any message</description>
  40. </option>
  41. <option name="--verbose" shortcut="-v" shortcuts="-v|-vv|-vvv" accept_value="0" is_value_required="0" is_multiple="0">
  42. <description>Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug</description>
  43. </option>
  44. <option name="--version" shortcut="-V" accept_value="0" is_value_required="0" is_multiple="0">
  45. <description>Display this application version</description>
  46. </option>
  47. <option name="--ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  48. <description>Force ANSI output</description>
  49. </option>
  50. <option name="--no-ansi" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  51. <description>Disable ANSI output</description>
  52. </option>
  53. <option name="--no-interaction" shortcut="-n" accept_value="0" is_value_required="0" is_multiple="0">
  54. <description>Do not ask any interactive question</description>
  55. </option>
  56. </options>
  57. </command>
  58. <command id="list" name="list">
  59. <usages>
  60. <usage>list [--xml] [--raw] [--format FORMAT] [--] [&lt;namespace&gt;]</usage>
  61. </usages>
  62. <description>Lists commands</description>
  63. <help>The &lt;info&gt;list&lt;/info&gt; command lists all commands:
  64. &lt;info&gt;php app/console list&lt;/info&gt;
  65. You can also display the commands for a specific namespace:
  66. &lt;info&gt;php app/console list test&lt;/info&gt;
  67. You can also output the information in other formats by using the &lt;comment&gt;--format&lt;/comment&gt; option:
  68. &lt;info&gt;php app/console list --format=xml&lt;/info&gt;
  69. It's also possible to get raw list of commands (useful for embedding command runner):
  70. &lt;info&gt;php app/console list --raw&lt;/info&gt;</help>
  71. <arguments>
  72. <argument name="namespace" is_required="0" is_array="0">
  73. <description>The namespace name</description>
  74. <defaults/>
  75. </argument>
  76. </arguments>
  77. <options>
  78. <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  79. <description>To output list as XML</description>
  80. </option>
  81. <option name="--raw" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  82. <description>To output raw command list</description>
  83. </option>
  84. <option name="--format" shortcut="" accept_value="1" is_value_required="1" is_multiple="0">
  85. <description>The output format (txt, xml, json, or md)</description>
  86. <defaults>
  87. <default>txt</default>
  88. </defaults>
  89. </option>
  90. </options>
  91. </command>
  92. </commands>
  93. <namespaces>
  94. <namespace id="_global">
  95. <command>help</command>
  96. <command>list</command>
  97. </namespace>
  98. </namespaces>
  99. </symfony>