application_1.xml 4.4 KB

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