application_asxml1.txt 2.3 KB

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