application_asxml1.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <symfony>
  3. <commands>
  4. <command id="help" namespace="_global" name="help">
  5. <usage>help [--xml] [command_name]</usage>
  6. <description>Displays help for a command</description>
  7. <help>The &lt;info&gt;help&lt;/info&gt; command displays help for a given command:
  8. &lt;info&gt;./symfony help list&lt;/info&gt;
  9. You can also output the help as XML by using the &lt;comment&gt;--xml&lt;/comment&gt; option:
  10. &lt;info&gt;./symfony help --xml list&lt;/info&gt;</help>
  11. <aliases>
  12. <alias>?</alias>
  13. </aliases>
  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. </options>
  27. </command>
  28. <command id="list" namespace="_global" name="list">
  29. <usage>list [--xml] [namespace]</usage>
  30. <description>Lists commands</description>
  31. <help>The &lt;info&gt;list&lt;/info&gt; command lists all commands:
  32. &lt;info&gt;./symfony list&lt;/info&gt;
  33. You can also display the commands for a specific namespace:
  34. &lt;info&gt;./symfony list test&lt;/info&gt;
  35. You can also output the information as XML by using the &lt;comment&gt;--xml&lt;/comment&gt; option:
  36. &lt;info&gt;./symfony list --xml&lt;/info&gt;</help>
  37. <aliases/>
  38. <arguments>
  39. <argument name="namespace" is_required="0" is_array="0">
  40. <description>The namespace name</description>
  41. <defaults/>
  42. </argument>
  43. </arguments>
  44. <options>
  45. <option name="--xml" shortcut="" accept_value="0" is_value_required="0" is_multiple="0">
  46. <description>To output help as XML</description>
  47. </option>
  48. </options>
  49. </command>
  50. <command id="foo:bar" namespace="foo" name="bar">
  51. <usage>foo:bar</usage>
  52. <description>The foo:bar command</description>
  53. <help/>
  54. <aliases>
  55. <alias>afoobar</alias>
  56. </aliases>
  57. <arguments/>
  58. <options/>
  59. </command>
  60. </commands>
  61. <namespaces>
  62. <namespace id="_global">
  63. <command>help</command>
  64. <command>list</command>
  65. </namespace>
  66. <namespace id="foo">
  67. <command>bar</command>
  68. </namespace>
  69. </namespaces>
  70. </symfony>